|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.Project.Status
public static final class Project.Status
Defines the status of a Project This property is new to 12.0+ servers
| Field Summary | |
|---|---|
static Project.Status |
ACTIVE
Defines an active project |
static Project.Status[] |
ALL
All supported Status types. |
static Project.Status |
PARKED
Defines a parked (inactive) project |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compare a Status instance with this one |
static Project.Status |
fromID(int id)
returns a Status from an integer ID |
static Project.Status |
fromValue(EnumeratedValue value)
Gets the Status value corresponding to the given EnumeratedValue. |
int |
getCode()
Return the enum code for this object. |
int |
getID()
The ID of the corresponding EnumeratedValue, as defined in StatusProperty. |
int |
hashCode()
returns a hashCode for this instance |
| Methods inherited from class com.starteam.EnumeratedValue |
|---|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayName, getDisplayNameTranslations, getInternalName, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrder, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Project.Status ACTIVE
public static final Project.Status PARKED
public static final Project.Status[] ALL
| Method Detail |
|---|
public int getID()
Project.Type.StatusProperty.NAMEpublic int getCode()
getCode in class EnumeratedValuepublic static Project.Status fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a Status.
public static Project.Status fromID(int id)
id - the id of the Status to look for
public boolean equals(java.lang.Object o)
equals in class EnumeratedValueo - the Object to compare to
public int hashCode()
hashCode in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||