Enum TaskDependency.Type
- All Implemented Interfaces:
Comparable<TaskDependency.Type>
- Enclosing class:
TaskDependency
Which end of the predecessor holds which end of the successor.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe successor finishes after the predecessor finishes.The successor starts after the predecessor finishes.The successor finishes after the predecessor starts.The successor starts after the predecessor starts. -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskDependency.TypeReturns the enum constant of this type with the specified name.static TaskDependency.Type[]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
-
FINISH_TO_START
The successor starts after the predecessor finishes. The usual one. -
START_TO_START
The successor starts after the predecessor starts. -
FINISH_TO_FINISH
The successor finishes after the predecessor finishes. -
START_TO_FINISH
The successor finishes after the predecessor starts.
-
-
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
-