Package cdc.issues.api.locations
Class TextFileLocation
- java.lang.Object
-
- cdc.issues.api.locations.AbstractLocation
-
- cdc.issues.api.locations.TextFileLocation
-
- All Implemented Interfaces:
Location
public class TextFileLocation extends AbstractLocation
Implementation of IssueLocation dedicated to text files.- Author:
- Damien Carbonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextFileLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextFileLocation.Builderbuilder()booleanequals(Object object)intgetColumnNumber()intgetLineNumber()StringgetPath()StringgetSystemId()StringgetTargetId()inthashCode()-
Methods inherited from class cdc.issues.api.locations.AbstractLocation
toString
-
-
-
-
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.
It can contain a path to the identified target.
-
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 classAbstractLocation
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractLocation
-
builder
public static TextFileLocation.Builder builder()
-
-