Package io.iworkflow.gen.models
Enum ErrorSubStatus
- java.lang.Object
-
- java.lang.Enum<ErrorSubStatus>
-
- io.iworkflow.gen.models.ErrorSubStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ErrorSubStatus>
public enum ErrorSubStatus extends java.lang.Enum<ErrorSubStatus>
Gets or Sets ErrorSubStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNCATEGORIZED_SUB_STATUS
WORKER_API_ERROR
WORKFLOW_ALREADY_STARTED_SUB_STATUS
WORKFLOW_NOT_EXISTS_SUB_STATUS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorSubStatus
fromValue(java.lang.String value)
java.lang.String
getValue()
java.lang.String
toString()
static ErrorSubStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ErrorSubStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNCATEGORIZED_SUB_STATUS
public static final ErrorSubStatus UNCATEGORIZED_SUB_STATUS
-
WORKFLOW_ALREADY_STARTED_SUB_STATUS
public static final ErrorSubStatus WORKFLOW_ALREADY_STARTED_SUB_STATUS
-
WORKFLOW_NOT_EXISTS_SUB_STATUS
public static final ErrorSubStatus WORKFLOW_NOT_EXISTS_SUB_STATUS
-
WORKER_API_ERROR
public static final ErrorSubStatus WORKER_API_ERROR
-
-
Method Detail
-
values
public static ErrorSubStatus[] 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 (ErrorSubStatus c : ErrorSubStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorSubStatus 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<ErrorSubStatus>
-
fromValue
public static ErrorSubStatus fromValue(java.lang.String value)
-
-