Enum Class TaskMoveResult
- All Implemented Interfaces:
Serializable, Comparable<TaskMoveResult>, Constable
What the move of one request's task to its process's project did.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe task already was in the project: nothing was writtenThe task was moved to the projectThe task no longer exists -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskMoveResultReturns the enum constant of this class with the specified name.static TaskMoveResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MOVED
The task was moved to the project -
IN_PROJECT
The task already was in the project: nothing was written -
NOT_FOUND
The task no longer exists
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-