public class State
extends java.lang.Object
implements java.lang.Comparable
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.
Modifier and Type | Field and Description |
---|---|
static State |
ADDED |
static State |
CONFLICT |
static State |
MODIFIED |
static State |
NONE |
static State |
PATCHED |
static State |
REMOVED |
static State |
UNKNOWN |
static State |
UPDATE |
public static final State UPDATE
public static final State PATCHED
public static final State ADDED
public static final State REMOVED
public static final State MODIFIED
public static final State CONFLICT
public static final State UNKNOWN
public static final State NONE
public final java.lang.String getState()
public final java.lang.String getKey()
public final java.lang.String getUpdateResult()
public static State getState(java.lang.String key)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable