Package org.tmatesoft.svn.core.wc
Class SVNRevisionRange
- java.lang.Object
-
- org.tmatesoft.svn.core.wc.SVNRevisionRange
-
public class SVNRevisionRange extends java.lang.Object
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 theSVNDiffClient
'sdoMerge()
method to specify ranges of the source which must be merged into the target. Read more, for example, in the description forSVNDiffClient.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 Modifier and Type Field Description private SVNRevision
myEndRevision
private SVNRevision
myStartRevision
-
Constructor Summary
Constructors Constructor Description SVNRevisionRange(SVNRevision startRevision, SVNRevision endRevision)
Constructs a new revision range object given start and end revisions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SVNRevision
getEndRevision()
Returns the end revision of this range.SVNRevision
getStartRevision()
Returns the start revision of this range.
-
-
-
Field Detail
-
myStartRevision
private SVNRevision myStartRevision
-
myEndRevision
private SVNRevision myEndRevision
-
-
Constructor Detail
-
SVNRevisionRange
public SVNRevisionRange(SVNRevision startRevision, SVNRevision endRevision)
Constructs a new revision range object given start and end revisions.- Parameters:
startRevision
- start of the rangeendRevision
- end of the range
-
-
Method Detail
-
getStartRevision
public SVNRevision getStartRevision()
Returns the start revision of this range.- Returns:
- start revision
-
getEndRevision
public SVNRevision getEndRevision()
Returns the end revision of this range.- Returns:
- end revision
-
-