|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.Task.Status
public static final class Task.Status
Status of the Task
| Field Summary | |
|---|---|
static Task.Status[] |
ALL
All possible Task statuses |
static Task.Status |
CLOSED
Task is closed |
static Task.Status |
FINISHED
Task is finished |
static Task.Status |
HOLD
Task is on Hold |
static Task.Status |
IN_PROGRESS
Task is in Progress |
static Task.Status |
PENDING
Task is pending |
static Task.Status |
READY_TO_START
Task is Ready to Start |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this Task Status with the Object o |
static Task.Status |
fromID(int id)
Gets the Status value corresponding to the given ID. |
static Task.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 hashcode of the task status |
boolean |
isClosedState()
Returns true if this Enumerated Value represents a Closed State for its Property Note that the closed state is only meaningful if the property is the status property This property was first introduced in the 12.0 server |
| Methods inherited from class com.starteam.EnumeratedValue |
|---|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayName, getDisplayNameTranslations, getInternalName, getParentValue, getSortOrder, hasChildValues, 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 Task.Status PENDING
public static final Task.Status READY_TO_START
public static final Task.Status IN_PROGRESS
public static final Task.Status FINISHED
public static final Task.Status CLOSED
public static final Task.Status HOLD
public static final Task.Status[] ALL
| Method Detail |
|---|
public int getID()
Task.Type.StatusProperty.NAMEpublic boolean isClosedState()
isClosedState in class EnumeratedValuepublic int getCode()
getCode in class EnumeratedValuepublic static Task.Status fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a StatusProperty.
public static Task.Status fromID(int id)
id - A Status ID.
public boolean equals(java.lang.Object o)
equals in class EnumeratedValueo - the Object to compare too for equality
public int hashCode()
hashCode in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||