public class FileLineMatch extends Object implements IFileLineMatch
IFileLineMatch interfaceIFileLineMatch.MatchType| Modifier and Type | Field and Description |
|---|---|
protected String |
file |
protected String |
line |
protected int |
lineNumber |
protected int |
revision |
protected IFileLineMatch.MatchType |
type |
| Constructor and Description |
|---|
FileLineMatch(Map<String,Object> map) |
FileLineMatch(String file,
int revision,
String line,
IFileLineMatch.MatchType type)
Explicit-value constructor; sets all fields to null or -1, type to MatchType.MATCH.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDepotFile()
Get depot file path of match
|
String |
getLine()
Get line text of match
|
int |
getLineNumber()
Get line number of match
|
int |
getRevision()
Get revision number of match
|
IFileLineMatch.MatchType |
getType()
Get match type
|
protected String file
protected int revision
protected int lineNumber
protected String line
protected IFileLineMatch.MatchType type
public FileLineMatch(String file, int revision, String line, IFileLineMatch.MatchType type)
public String getDepotFile()
IFileLineMatchgetDepotFile in interface IFileLineMatchpublic String getLine()
IFileLineMatchgetLine in interface IFileLineMatchpublic int getRevision()
IFileLineMatchgetRevision in interface IFileLineMatchpublic int getLineNumber()
IFileLineMatchgetLineNumber in interface IFileLineMatchpublic IFileLineMatch.MatchType getType()
IFileLineMatchgetType in interface IFileLineMatchCopyright © 2017 Perforce Software. All Rights Reserved.