Package org.tmatesoft.svn.core.io
Class SVNLocationEntry
java.lang.Object
org.tmatesoft.svn.core.io.SVNLocationEntry
The SVNLocationEntry represents a mapping of a path to its
revision. That is, the repository path of an item in a particular
revision.
- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSVNLocationEntry
(long revision, String path) Constructs an SVNLocationEntry object.SVNLocationEntry
(long revision, String path, boolean isResultOfMerge, Map mergedMergeInfo) Constructs an SVNLocationEntry object. -
Method Summary
Modifier and TypeMethodDescriptionReturns merge info for this path@revision.getPath()
Gets the path.long
Gets the revision number.boolean
Tells if this path@revision is a result of a merge operation.
-
Constructor Details
-
SVNLocationEntry
Constructs an SVNLocationEntry object.- Parameters:
revision
- a revision numberpath
- an item's path in the reposytory in therevision
-
SVNLocationEntry
Constructs an SVNLocationEntry object.- Parameters:
revision
- a revision numberpath
- an item's path in the repository in therevision
isResultOfMerge
- whether thisrevision
is a result of a mergemergedMergeInfo
- merge info of this path@revision- Since:
- 1.2.0
-
-
Method Details
-
getPath
Gets the path.- Returns:
- a path
-
getRevision
public long getRevision()Gets the revision number.- Returns:
- a revision number.
-
isResultOfMerge
public boolean isResultOfMerge()Tells if this path@revision is a result of a merge operation. Note: this is always false for location entry objects received through the public APIs. This method is not intended for API users.- Returns:
- true is it's a result of a merge; otherwise false
- Since:
- 1.2.0
-
getMergedMergeInfo
Returns merge info for this path@revision. Note: this is always null for location entry objects received through the public APIs. This method is not intended for API users.- Returns:
- merge info
- Since:
- 1.2.0
-