| |
|
| java.lang.Object org.tigris.subversion.javahl.Revision
Revision | public class Revision (Code) | | Class to specify a revision in a svn command.
|
Inner Class :public static class Number extends Revision | |
Inner Class :public static class DateSpec extends Revision | |
Inner Class :final public static class Kind implements RevisionKind | |
Constructor Summary | |
public | Revision(int kind) | protected | Revision(int kind, boolean marker) |
BASE | final public static Revision BASE(Code) | | base revision of working copy
|
COMMITTED | final public static Revision COMMITTED(Code) | | last committed revision, needs working copy
|
PREVIOUS | final public static Revision PREVIOUS(Code) | | previous committed revision, needs working copy
|
SVN_INVALID_REVNUM | final public static int SVN_INVALID_REVNUM(Code) | | Marker revision number for no real revision
|
WORKING | final public static Revision WORKING(Code) | | working version in working copy
|
revKind | protected int revKind(Code) | | kind of revision specified
|
Revision | public Revision(int kind)(Code) | | Create a new revision
Parameters: kind - kind of revision |
Revision | protected Revision(int kind, boolean marker)(Code) | | Internally create a new revision
Parameters: kind - kind of revision Parameters: marker - marker to differtiate from the public deprecated version |
createNumber | static Number createNumber(long revNumber)(Code) | | Factory which creates
Revision.Number objects for valid
revision numbers only (those greater than zero). For internal
usage to avoid an IllegalArgumentException, where no external
consumer of the javahl API passed an invalid revision number.
Parameters: revNumber - The revision number to create an object for. An object representing revNumber , ornull if the revision number was invalid. since: 1.2 |
equals | public boolean equals(Object target)(Code) | | compare to revision objects
Parameters: target - if both object have equal content |
getInstance | public static Revision getInstance(long revisionNumber)(Code) | | Creates a Revision.Number object
Parameters: revisionNumber - the revision number of the new object the new object throws: IllegalArgumentException - If the specified revisionnumber is invalid. |
getInstance | public static Revision getInstance(Date revisionDate)(Code) | | Creates a Revision.DateSpec objet
Parameters: revisionDate - the date of the new object the new object |
getKind | public int getKind()(Code) | | Returns the kind of the Revsion
kind |
toString | public String toString()(Code) | | return the textual representation of the revision
english text |
|
|
|