|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Version | |
---|---|
org.apache.commons.jrcs.rcs | JRCS is a library that knows how to manipulate the archive files produced by the RCS and CVS version control systems. |
Uses of Version in org.apache.commons.jrcs.rcs |
---|
Fields in org.apache.commons.jrcs.rcs declared as Version | |
---|---|
protected Version |
Archive.branch
|
protected Version |
Node.version
The version number for this node. |
Methods in org.apache.commons.jrcs.rcs that return Version | |
---|---|
Version |
Archive.addRevision(java.lang.Object[] text,
java.lang.String log)
Add the given revision to the active branch on the archive. |
Version |
Archive.addRevision(java.lang.Object[] text,
java.lang.String vernum,
java.lang.String log)
Add the given revision to the the archive using the given version number. |
Version |
Archive.addRevision(java.lang.Object[] text,
Version vernum,
java.lang.String log)
Add the given revision to the the archive using the given version number. |
Version |
Version.getBase(int positions)
Return the last number in the version number. |
Version |
Version.getBranchPoint()
|
Version |
Archive.getRevisionVersion()
Return the actual revision number of the active revision. |
Version |
Archive.getRevisionVersion(java.lang.String vernum)
Return the actual revision number of the node identified by the given version number. |
Version |
Archive.getRevisionVersion(Version vernum)
Return the actual revision number of the node identified by the given version number. |
Version |
Node.getVersion()
|
Version |
Version.newBranch(int branch)
|
Version |
Node.newBranchVersion()
Returns the version number that should correspond to a newly created branch of this node. |
Version |
Version.next()
|
Version |
Node.nextVersion()
Returns the version number that should correspond to the revision folowing this node. |
Methods in org.apache.commons.jrcs.rcs with parameters of type Version | |
---|---|
void |
Archive.addLock(java.lang.String user,
Version vernum)
Add a lock over a revison. |
Version |
Archive.addRevision(java.lang.Object[] text,
Version vernum,
java.lang.String log)
Add the given revision to the the archive using the given version number. |
void |
Archive.addSymbol(java.lang.String sym,
Version vernum)
Tag a given version with a symbol. |
Node[] |
Archive.changeLog(Version latest)
Return the list of nodes between the the given revision and the root revision. |
Node[] |
Archive.changeLog(Version latest,
Version earliest)
Return the list of nodes between the the given two revisions. |
int |
Version.compareVersions(Version ver)
Compares two versions. |
Node |
Archive.findNode(Version vernum)
Return the node with the version number that matches the one provided. |
java.lang.String |
Archive.getLog(Version version)
Returns the log message associated with the given revision. |
protected Node |
Archive.getNode(Version vernum)
|
java.lang.Object[] |
Archive.getRevision(Version vernum)
Get the text belonging to the revision identified by the given version number. |
java.lang.Object[] |
Archive.getRevision(Version vernum,
boolean annotate)
Get the text belonging to the revision identified by the given version number. |
protected org.apache.commons.jrcs.rcs.Path |
Archive.getRevisionPath(Version vernum)
Returns the path from the head node to the node identified by the given version number. |
Version |
Archive.getRevisionVersion(Version vernum)
Return the actual revision number of the node identified by the given version number. |
boolean |
Version.isGreaterOrEqualThan(Version ver)
Determine if this version is greater than or equal to the given one. |
boolean |
Version.isGreaterThan(Version ver)
Determine if this version is greater than the given one. |
boolean |
Version.isLessOrEqualThan(Version ver)
Determine if this version is less than or equal to the given one. |
boolean |
Version.isLessThan(Version ver)
Determine if this version is less than the given one. |
protected org.apache.commons.jrcs.rcs.BranchNode |
Archive.newBranchNode(Version vernum)
|
protected Node |
Archive.newNode(Version vernum)
|
protected Node |
Archive.newNode(Version vernum,
Node prev)
|
protected org.apache.commons.jrcs.rcs.TrunkNode |
Archive.newTrunkNode(Version vernum)
|
abstract Node |
Node.nextInPathTo(Version vernum,
boolean soft)
Returns the next node in the path from the current node to the node identified by the given version. |
org.apache.commons.jrcs.rcs.Path |
Node.pathTo(Version vernum)
Returns the path from the current node to the node identified by the given version. |
org.apache.commons.jrcs.rcs.Path |
Node.pathTo(Version vernum,
boolean soft)
Returns the path from the current node to the node identified by the given version. |
void |
Archive.setBranch(Version vernum)
Set the active branch to the one identified by the given version number. |
protected void |
Archive.setHead(Version vernum)
Add a head node with the given version number. |
Constructors in org.apache.commons.jrcs.rcs with parameters of type Version | |
---|---|
Archive(java.lang.Object[] text,
java.lang.String desc,
Version vernum)
Creates a new archive with the specified initial version number and sets the text of the initial revision. |
|
BranchNotFoundException(Version v)
|
|
HeadAlreadySetException(Version v)
|
|
InvalidBranchVersionNumberException(Version v)
|
|
InvalidTrunkVersionNumberException(Version v)
|
|
InvalidVersionNumberException(Version v)
|
|
Node(Version vernum,
Node rcsnext)
Creates a node with the given version number. |
|
NodeNotFoundException(Version v)
|
|
RCSException(Version v)
|
|
Version(Version v)
Create a new Version by copying another. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |