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()
IFileLineMatch
getDepotFile
in interface IFileLineMatch
public String getLine()
IFileLineMatch
getLine
in interface IFileLineMatch
public int getRevision()
IFileLineMatch
getRevision
in interface IFileLineMatch
public int getLineNumber()
IFileLineMatch
getLineNumber
in interface IFileLineMatch
public IFileLineMatch.MatchType getType()
IFileLineMatch
getType
in interface IFileLineMatch
Copyright © 2017 Perforce Software. All Rights Reserved.