|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.File.Status
public static final class File.Status
The current status of the file.
File.Type.StatusProperty,
File.Type.PropertyCollection.STATUS,
Serialized Form| Field Summary | |
|---|---|
static File.Status[] |
ALL
All legal Status values |
static File.Status |
CURRENT
The working file on disk is CURRENT w.r.t. |
static File.Status |
MERGE
The working file on disk needs to be merged with the file in the repository |
static File.Status |
MISSING
There is a file in the repository that is missing on disk |
static File.Status |
MODIFIED
The working file on disk has been modified |
static File.Status |
NEW
The working file on disk does not exist in the repository |
static File.Status |
OUT_OF_DATE
The file in the repository has newer content than the working file on disk |
static File.Status |
UNKNOWN
The state of the file on disk w.r.t. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this Status instance with the Object o |
static File.Status |
fromID(int id)
Gets the Status value corresponding to the given ID. |
static File.Status |
fromValue(EnumeratedValue value)
Gets the Status value corresponding to the given EnumeratedValue. |
int |
getCode()
Return the enum code for this object. |
java.lang.String |
getDisplayName()
Returns a String name for this Status |
int |
getID()
The ID of the corresponding EnumeratedValue, as defined in StatusProperty. |
java.lang.String |
getName()
Returns a String name for this Status |
int |
hashCode()
Returns a hashCode for this Status instance |
java.lang.String |
toString()
Returns the name of this Status instance |
| Methods inherited from class com.starteam.EnumeratedValue |
|---|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayNameTranslations, getInternalName, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrder |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final File.Status CURRENT
public static final File.Status MERGE
public static final File.Status MISSING
public static final File.Status MODIFIED
public static final File.Status NEW
public static final File.Status OUT_OF_DATE
public static final File.Status UNKNOWN
public static final File.Status[] ALL
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getDisplayName()
getDisplayName in class EnumeratedValuepublic int getID()
File.Type.StatusProperty.NAMEpublic int getCode()
getCode in class EnumeratedValuepublic static File.Status fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a StatusProperty.
public static File.Status fromID(int id)
id - A Status ID.
public boolean equals(java.lang.Object o)
equals in class EnumeratedValueo - the Object to compare with for equality
public int hashCode()
hashCode in class EnumeratedValuepublic java.lang.String toString()
toString in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||