Package io.iworkflow.gen.models
Enum WorkflowStatus
- java.lang.Object
-
- java.lang.Enum<WorkflowStatus>
-
- io.iworkflow.gen.models.WorkflowStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WorkflowStatus>
public enum WorkflowStatus extends java.lang.Enum<WorkflowStatus>
Gets or Sets WorkflowStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELED
COMPLETED
CONTINUED_AS_NEW
FAILED
RUNNING
TERMINATED
TIMEOUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkflowStatus
fromValue(java.lang.String value)
java.lang.String
getValue()
java.lang.String
toString()
static WorkflowStatus
valueOf(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
-
RUNNING
public static final WorkflowStatus RUNNING
-
COMPLETED
public static final WorkflowStatus COMPLETED
-
FAILED
public static final WorkflowStatus FAILED
-
TIMEOUT
public static final WorkflowStatus TIMEOUT
-
TERMINATED
public static final WorkflowStatus TERMINATED
-
CANCELED
public static final WorkflowStatus CANCELED
-
CONTINUED_AS_NEW
public static final WorkflowStatus CONTINUED_AS_NEW
-
-
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
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<WorkflowStatus>
-
fromValue
public static WorkflowStatus fromValue(java.lang.String value)
-
-