Enum GanttTask.Constraint
- All Implemented Interfaces:
Comparable<GanttTask.Constraint>
- Enclosing class:
GanttTask
A limit on when a task may be scheduled, on top of its dependencies.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo limit: as early as the dependencies allow.Finishes on the date whatever the dependencies say.Starts on the date whatever the dependencies say. -
Method Summary
Modifier and TypeMethodDescriptionstatic GanttTask.ConstraintReturns the enum constant of this type with the specified name.static GanttTask.Constraint[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
AS_SOON_AS_POSSIBLE
No limit: as early as the dependencies allow. -
START_NO_EARLIER_THAN
-
START_NO_LATER_THAN
-
FINISH_NO_EARLIER_THAN
-
FINISH_NO_LATER_THAN
-
MUST_START_ON
Starts on the date whatever the dependencies say. -
MUST_FINISH_ON
Finishes on the date whatever the dependencies say.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-