|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.Task.Constraint
public static final class Task.Constraint
Task Constraint Type
| Field Summary | |
|---|---|
static Task.Constraint[] |
ALL
All valid Constraints for the task |
static Task.Constraint |
AS_LATE_AS_POSSIBLE
Task constrained to finish as late as possible |
static Task.Constraint |
AS_SOON_AS_POSSIBLE
Task constrained to finish as soon as possible |
static Task.Constraint |
FINISH_NO_EARLIER_THAN
Task constrained to finish no earlier than |
static Task.Constraint |
FINISH_NO_LATER_THAN
Task constrained to finish no later than |
static Task.Constraint |
MUST_FINISH_ON
Task constrained must finish on |
static Task.Constraint |
MUST_START_ON
Task must start on. |
static Task.Constraint |
START_NO_EARLIER_THAN
Task should start no ealier than |
static Task.Constraint |
START_NO_LATER_THAN
Task should start no later than |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this Constraint with the Object o |
static Task.Constraint |
fromID(int id)
Gets the Constraint value corresponding to the given ID. |
static Task.Constraint |
fromValue(EnumeratedValue value)
Gets the Constraint 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 ConstraintProperty. |
int |
hashCode()
Returns the hashcode for the constraint |
| 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 Task.Constraint AS_LATE_AS_POSSIBLE
public static final Task.Constraint AS_SOON_AS_POSSIBLE
public static final Task.Constraint FINISH_NO_EARLIER_THAN
public static final Task.Constraint FINISH_NO_LATER_THAN
public static final Task.Constraint MUST_FINISH_ON
public static final Task.Constraint MUST_START_ON
public static final Task.Constraint START_NO_EARLIER_THAN
public static final Task.Constraint START_NO_LATER_THAN
public static final Task.Constraint[] ALL
| Method Detail |
|---|
public int getID()
Task.Type.ConstraintProperty.NAMEpublic int getCode()
getCode in class EnumeratedValuepublic static Task.Constraint fromID(int id)
id - The ID of a Constraint value.
public static Task.Constraint fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a ConstraintProperty.
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 | ||||||||