Package ai.extend.types
Enum WorkflowStatus
- java.lang.Object
-
- java.lang.Enum<WorkflowStatus>
-
- ai.extend.types.WorkflowStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WorkflowStatus>
public enum WorkflowStatus extends java.lang.Enum<WorkflowStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCANCELLINGFAILEDNEEDS_REVIEWPENDINGPROCESSEDPROCESSINGREJECTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static WorkflowStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WorkflowStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final WorkflowStatus PENDING
-
PROCESSING
public static final WorkflowStatus PROCESSING
-
NEEDS_REVIEW
public static final WorkflowStatus NEEDS_REVIEW
-
REJECTED
public static final WorkflowStatus REJECTED
-
PROCESSED
public static final WorkflowStatus PROCESSED
-
FAILED
public static final WorkflowStatus FAILED
-
CANCELLED
public static final WorkflowStatus CANCELLED
-
CANCELLING
public static final WorkflowStatus CANCELLING
-
-
Method Detail
-
values
public static WorkflowStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WorkflowStatus c : WorkflowStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowStatus valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<WorkflowStatus>
-
-