Package org.tmatesoft.svn.core.wc
Class SVNRevisionRange
java.lang.Object
org.tmatesoft.svn.core.wc.SVNRevisionRange
The SVNRevisionRange class represents a revision range between a start revision and an end revision.
Revision range objects are passed to the pegged versions of the
SVNDiffClient
's doMerge()
method to specify ranges of the source which must be merged into the target. Read more, for example,
in the description for
SVNDiffClient.doMerge(java.io.File, SVNRevision, java.util.Collection, java.io.File, org.tmatesoft.svn.core.SVNDepth, boolean, boolean, boolean, boolean)
.- Since:
- 1.2
- Version:
- 1.3
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSVNRevisionRange
(SVNRevision startRevision, SVNRevision endRevision) Constructs a new revision range object given start and end revisions. -
Method Summary
Modifier and TypeMethodDescriptionReturns the end revision of this range.Returns the start revision of this range.
-
Field Details
-
myStartRevision
-
myEndRevision
-
-
Constructor Details
-
SVNRevisionRange
Constructs a new revision range object given start and end revisions.- Parameters:
startRevision
- start of the rangeendRevision
- end of the range
-
-
Method Details
-
getStartRevision
Returns the start revision of this range.- Returns:
- start revision
-
getEndRevision
Returns the end revision of this range.- Returns:
- end revision
-