| org.apache.commons.jrcs.rcs.Node org.apache.commons.jrcs.rcs.TrunkNode
TrunkNode | class TrunkNode extends Node (Code) | | Represents a node on the trunk or main branch of a version control Archive.
A
TrunkNode TrunkNode stores the deltas between the node's
revision and the previous revision;
that is, when the deltas are applied to the current revision, the
text of the previous revision is obtained.
The
Node.rcsnext rcsnext field of a TrunkNode
points to the node corresponding to the previous revision.
This class is NOT thread safe.
See Also: Node See Also: Archive author: Juanco Anez version: $Id: TrunkNode.java 2967 2005-10-26 10:52:33Z ian@caret.cam.ac.uk $ |
TrunkNode | TrunkNode(TrunkNode other)(Code) | | Create a TrunkNode bu copying another TrunkNode.
|
setRCSNext | public void setRCSNext(Node node)(Code) | | Set the next node in the RCS logical hierarcy.
Update the _parent and _child node accordingly.
For a TrunkNode, the RCS-next is the immediate parent.
|
Methods inherited from org.apache.commons.jrcs.rcs.Node | public void addBranch(BranchNode node) throws InvalidVersionNumberException(Code)(Java Doc) public int compareTo(Object other)(Code)(Java Doc) abstract public Node deltaRevision()(Code)(Java Doc) final public String getAuthor()(Code)(Java Doc) public BranchNode getBranch(int no)(Code)(Java Doc) final public TreeMap getBranches()(Code)(Java Doc) final public Node getChild()(Code)(Java Doc) final public Date getDate()(Code)(Java Doc) final public String getLocker()(Code)(Java Doc) final public String getLog()(Code)(Java Doc) final public Node getParent()(Code)(Java Doc) public Phrases getPhrases()(Code)(Java Doc) public Node getRCSNext()(Code)(Java Doc) final public String getState()(Code)(Java Doc) final public Object[] getText()(Code)(Java Doc) public List getTextLines()(Code)(Java Doc) public List getTextLines(int from, int to)(Code)(Java Doc) public List getTextLines(List lines)(Code)(Java Doc) public List getTextLines(List lines, int from, int to)(Code)(Java Doc) final public Version getVersion()(Code)(Java Doc) public boolean isGhost()(Code)(Java Doc) public Version newBranchVersion()(Code)(Java Doc) static Node newNode(Version vernum, Node rcsnext) throws InvalidVersionNumberException(Code)(Java Doc) static Node newNode(Version vernum) throws InvalidVersionNumberException(Code)(Java Doc) abstract public Node nextInPathTo(Version vernum, boolean soft) throws NodeNotFoundException(Code)(Java Doc) public Version nextVersion()(Code)(Java Doc) public void patch(List original) throws InvalidFileFormatException, PatchFailedException(Code)(Java Doc) public void patch(List original, boolean annotate) throws InvalidFileFormatException, org.apache.commons.jrcs.diff.PatchFailedException(Code)(Java Doc) public Path pathTo(Version vernum) throws NodeNotFoundException(Code)(Java Doc) public Path pathTo(Version vernum, boolean soft) throws NodeNotFoundException(Code)(Java Doc) public Node root()(Code)(Java Doc) public void setAuthor(String user)(Code)(Java Doc) public void setDate(int[] value)(Code)(Java Doc) public void setLocker(String user)(Code)(Java Doc) public void setLog(String value)(Code)(Java Doc) public void setRCSNext(Node node)(Code)(Java Doc) public void setState(String value)(Code)(Java Doc) public void setText(String value)(Code)(Java Doc) public void setText(Object[] value)(Code)(Java Doc) public void toString(StringBuffer s)(Code)(Java Doc) public void toString(StringBuffer s, String EOL)(Code)(Java Doc) public String toText()(Code)(Java Doc) public void toText(StringBuffer s, String EOL)(Code)(Java Doc)
|
|
|