Package org.tmatesoft.svn.core.wc2
Class SvnRevisionRange
java.lang.Object
org.tmatesoft.svn.core.wc2.SvnObject
org.tmatesoft.svn.core.wc2.SvnRevisionRange
Represents a revision range between the start revision and the end revision.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SvnRevisionRange
create
(SVNRevision start, SVNRevision end) Creates revision range and initializes its fieldsgetEnd()
Returns range's end revisiongetStart()
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
start
-
end
-
-
Constructor Details
-
SvnRevisionRange
-
-
Method Details
-
create
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
Returns range's start revision- Returns:
- start revision of the range
-
getEnd
Returns range's end revision- Returns:
- end revision of the range
-