Package org.tmatesoft.svn.core.wc2
Class SvnRevisionRange
- java.lang.Object
-
- org.tmatesoft.svn.core.wc2.SvnObject
-
- org.tmatesoft.svn.core.wc2.SvnRevisionRange
-
-
Field Summary
Fields Modifier and Type Field Description private SVNRevision
end
private SVNRevision
start
-
Constructor Summary
Constructors Modifier Constructor Description private
SvnRevisionRange(SVNRevision start, SVNRevision end)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SvnRevisionRange
create(SVNRevision start, SVNRevision end)
Creates revision range and initializes its fieldsSVNRevision
getEnd()
Returns range's end revisionSVNRevision
getStart()
Returns range's start revisionjava.lang.String
toString()
ReturnsString
representation of start and end revisions, separated by colon.-
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnObject
getUserData, setUserData
-
-
-
-
Field Detail
-
start
private SVNRevision start
-
end
private SVNRevision end
-
-
Constructor Detail
-
SvnRevisionRange
private SvnRevisionRange(SVNRevision start, SVNRevision end)
-
-
Method Detail
-
create
public static SvnRevisionRange create(SVNRevision start, SVNRevision end)
Creates revision range and initializes its fields- Parameters:
start
- start revisionend
- end revision- Returns:
- newly created range
-
toString
public java.lang.String toString()
ReturnsString
representation of start and end revisions, separated by colon.- Overrides:
toString
in classjava.lang.Object
- Returns:
String
representation of the range
-
getStart
public SVNRevision getStart()
Returns range's start revision- Returns:
- start revision of the range
-
getEnd
public SVNRevision getEnd()
Returns range's end revision- Returns:
- end revision of the range
-
-