Field Summary |
|
final public static SVNRevision | BASE Denotes the 'pristine' revision of a Working Copy item. |
final public static SVNRevision | COMMITTED Denotes the last revision in which an item was changed before (or
at) BASE. |
final public static SVNRevision | HEAD Denotes the latest repository revision. |
final public static SVNRevision | PREVIOUS Denotes the revision just before the one when an item was last
changed (technically, COMMITTED - 1). |
final public static SVNRevision | UNDEFINED Used to denote that a revision is undefined (not available or not
valid). |
final public static SVNRevision | WORKING Denotes an item's working (current) revision. |
Method Summary |
|
public static SVNRevision | create(long revisionNumber) Creates an SVNRevision object given a revision number. |
public static SVNRevision | create(Date date) Creates an SVNRevision object given a particular timestamp. |
public boolean | equals(Object o) Compares this object with another SVNRevision object. |
public Date | getDate() Gets the timestamp used to specify a revision. |
public int | getID() Gets the identifier of the revision information kind this
object represents. |
public String | getName() Gets the revision keyword name. |
public long | getNumber() Gets the revision number represented by this object. |
public int | hashCode() Evaluates the hash code for this object. |
public boolean | isLocal() Determines if the revision represented by this abstract object is
Working Copy specific - that is one of
SVNRevision.BASE or
SVNRevision.WORKING . |
public boolean | isValid() Checks if the revision information represented by this object
is valid.
SVNRevision.UNDEFINED is not a valid revision. |
public static boolean | isValidRevisionNumber(long revision) Checks whether a revision number is valid. |
public static SVNRevision | parse(String value) Parses an input string and be it a representation of either
a revision number, or a timestamp, or a revision keyword, constructs
an SVNRevision representation of the revision. |
public String | toString() Gives a string representation of this object. |