org.tigris.subversion.javahl
public class Revision extends Object
| Nested Class Summary | |
|---|---|
| static class | Revision.DateSpec
class to specify a revision by a date |
| static class | Revision.Kind
Various ways of specifying revisions.
|
| static class | Revision.Number
class to specify a Revision by number |
| Field Summary | |
|---|---|
| static Revision | BASE
base revision of working copy |
| static Revision | COMMITTED
last committed revision, needs working copy |
| static Revision | HEAD
last commited revision |
| static Revision | PREVIOUS
previous committed revision, needs working copy |
| protected int | revKind
kind of revision specified |
| static Revision | START
first existing revision |
| static int | SVN_INVALID_REVNUM
Marker revision number for no real revision |
| static Revision | WORKING
working version in working copy |
| Constructor Summary | |
|---|---|
| Revision(int kind)
Create a new revision | |
| protected | Revision(int kind, boolean marker)
Internally create a new revision |
| Method Summary | |
|---|---|
| boolean | equals(Object target)
compare to revision objects |
| static Revision | getInstance(long revisionNumber)
Creates a Revision.Number object |
| static Revision | getInstance(Date revisionDate)
Creates a Revision.DateSpec objet |
| int | getKind()
Returns the kind of the Revsion |
| String | toString()
return the textual representation of the revision |
Deprecated:
Create a new revisionParameters: kind kind of revision
Parameters: kind kind of revision marker marker to differtiate from the public deprecated version
Parameters: target
Returns: if both object have equal content
Parameters: revisionNumber the revision number of the new object
Returns: the new object
Throws: IllegalArgumentException If the specified revision number is invalid.
Parameters: revisionDate the date of the new object
Returns: the new object
Returns: kind
Returns: english text