Class FileLineMatch
java.lang.Object
com.perforce.p4java.impl.generic.core.FileLineMatch
- All Implemented Interfaces:
IFileLineMatch
Implementation class of the
IFileLineMatch interface-
Nested Class Summary
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IFileLineMatch
IFileLineMatch.MatchType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected intprotected intprotected IFileLineMatch.MatchType -
Constructor Summary
ConstructorsConstructorDescriptionFileLineMatch(String file, int revision, String line, IFileLineMatch.MatchType type) Explicit-value constructor; sets all fields to null or -1, type to MatchType.MATCH.FileLineMatch(Map<String, Object> map) -
Method Summary
-
Field Details
-
file
-
revision
protected int revision -
lineNumber
protected int lineNumber -
line
-
type
-
-
Constructor Details
-
FileLineMatch
Explicit-value constructor; sets all fields to null or -1, type to MatchType.MATCH.- Parameters:
file- filerevision- revisionline- linetype- type
-
FileLineMatch
- Parameters:
map- map
-
-
Method Details
-
getDepotFile
Description copied from interface:IFileLineMatchGet depot file path of match- Specified by:
getDepotFilein interfaceIFileLineMatch- Returns:
- depot file path
-
getLine
Description copied from interface:IFileLineMatchGet line text of match- Specified by:
getLinein interfaceIFileLineMatch- Returns:
- line text
-
getRevision
public int getRevision()Description copied from interface:IFileLineMatchGet revision number of match- Specified by:
getRevisionin interfaceIFileLineMatch- Returns:
- revision number
-
getLineNumber
public int getLineNumber()Description copied from interface:IFileLineMatchGet line number of match- Specified by:
getLineNumberin interfaceIFileLineMatch- Returns:
- line number
-
getType
Description copied from interface:IFileLineMatchGet match type- Specified by:
getTypein interfaceIFileLineMatch- Returns:
- - type
-