Package cdc.issues.api.locations
Class DefaultIssueLocation
- java.lang.Object
-
- cdc.issues.api.locations.DefaultIssueLocation
-
- All Implemented Interfaces:
IssueLocation
public class DefaultIssueLocation extends Object implements IssueLocation
Default implementation of IssueLocation.For example, it can be used to designate the attribute of an object.
- Author:
- Damien Carbonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultIssueLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultIssueLocation.Builderbuilder()booleanequals(Object object)StringgetPath()StringgetTargetId()inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cdc.issues.api.IssueLocation
hasPath
-
-
-
-
Method Detail
-
getTargetId
public String getTargetId()
- Specified by:
getTargetIdin interfaceIssueLocation- Returns:
- The identifier of the issue target.
It is typically a file, object, ... that has a user meaningful 'absolute' identifier.
-
getPath
public String getPath()
- Specified by:
getPathin interfaceIssueLocation- Returns:
- The path, relative to target, of the issue.
It may be
null.
-
builder
public static DefaultIssueLocation.Builder builder()
-
-