Enum Class TaskOutcome
- All Implemented Interfaces:
Serializable, Comparable<TaskOutcome>, Constable
- Since:
- JDK 25, opencode-base-flow V1.0.5
- Author:
- Leon Soo
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe assignee approved (or voted AGREE).The assignee rejected (or voted DISAGREE).The task was transferred to another user. -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskOutcomeReturns the enum constant of this class with the specified name.static TaskOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPROVED
The assignee approved (or voted AGREE). 同意(或投赞成票)。- Since:
- JDK 25, opencode-base-flow V1.0.5
-
REJECTED
The assignee rejected (or voted DISAGREE). 驳回(或投反对票)。- Since:
- JDK 25, opencode-base-flow V1.0.5
-
TRANSFERRED
The task was transferred to another user. 任务被转办给他人。- Since:
- JDK 25, opencode-base-flow V1.0.5
-
-
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
-