public interface IFileAnnotation
Modifier and Type | Method and Description |
---|---|
java.util.List<IFileAnnotation> |
getAllIntegrations()
Get a list of all contributing integration annotations for this annotation,
if such a list exists.
|
java.lang.String |
getDepotPath()
Get the associated depot path for this annotation, if one is available.
|
java.lang.String |
getLine()
Get the line being annotated.
|
java.lang.String |
getLine(boolean processLineEndings)
Get the line being annotated, with optional line ending processing based on
client settings (if available).
|
int |
getLower()
Get the lower version or change number for the associated annotation.
|
int |
getOrdering()
Get the ordering of this annotation in the associated allIntegrations
list, if it exists.
|
int |
getUpper()
Get the upper version or change number for the associated annotation.
|
int getLower()
int getUpper()
java.lang.String getLine()
The returned line will never be null, but may be empty.
java.lang.String getLine(boolean processLineEndings)
The returned line will never be null, but may be empty.
processLineEndings
- if true, and if a client is associated with this
annotation (i.e. it was created by one of the IServer or IFileSpec
annotation methods, and a client was associated with the server at the
time the IServer or IFileSpec call was made), the returned string will
attempt to honor client line end settings where possible; if there are no
available settings, the local line ending is appended. If processLineEndings
is not true, the results are identical to calling the no-argument getLine method.java.lang.String getDepotPath()
java.util.List<IFileAnnotation> getAllIntegrations()
int getOrdering()
Copyright © 2018 Perforce Software. All Rights Reserved.