com.sun.electric.tool.cvspm
Class State
java.lang.Object
com.sun.electric.tool.cvspm.State
- All Implemented Interfaces:
- java.lang.Comparable
public class State
- extends java.lang.Object
- implements java.lang.Comparable
The CVS state of a file.
User: gainsley
Date: Mar 16, 2006
Specifies the state of a CVS file on disk, as a result of the CVS command
'cvs -nq update' to get status, or 'cvs -q update' to do the update.
The former describes the action the latter would take (-n tells cvs not to
change any disk files).
A file for which no state is given as a result of this command is up-to-date.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPDATE
public static final State UPDATE
PATCHED
public static final State PATCHED
ADDED
public static final State ADDED
REMOVED
public static final State REMOVED
MODIFIED
public static final State MODIFIED
CONFLICT
public static final State CONFLICT
UNKNOWN
public static final State UNKNOWN
NONE
public static final State NONE
getState
public final java.lang.String getState()
getKey
public final java.lang.String getKey()
getUpdateResult
public final java.lang.String getUpdateResult()
getState
public static State getState(java.lang.String key)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable