Package cdc.issues.api.locations
Class TextFileIssueLocation
- java.lang.Object
-
- cdc.issues.api.locations.AbstractIssueLocation
-
- cdc.issues.api.locations.TextFileIssueLocation
-
- All Implemented Interfaces:
IssueLocation
public class TextFileIssueLocation extends AbstractIssueLocation
Implementation of IssueLocation dedicated to text files.- Author:
- Damien Carbonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextFileIssueLocation.Builder
-
Field Summary
-
Fields inherited from interface cdc.issues.api.IssueLocation
UNDEFINED
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextFileIssueLocation.Builderbuilder()booleanequals(Object object)intgetColumnNumber()intgetLineNumber()StringgetPath()StringgetSystemId()StringgetTargetId()inthashCode()-
Methods inherited from class cdc.issues.api.locations.AbstractIssueLocation
toString
-
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()
- Returns:
- The identifier of the issue target.
It is typically a file or a business object that has a user meaningful 'absolute' identifier.
-
getPath
public String getPath()
- Returns:
- The path, relative to target, of the issue.
It may be
null.
-
getSystemId
public String getSystemId()
-
getLineNumber
public int getLineNumber()
-
getColumnNumber
public int getColumnNumber()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractIssueLocation
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractIssueLocation
-
builder
public static TextFileIssueLocation.Builder builder()
-
-