public enum WorkflowActionErrorReason extends Enum<WorkflowActionErrorReason>
Java class for WorkflowActionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="WorkflowActionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NOT_APPLICABLE"/>
<enumeration value="WORKFLOW_DEFINITION_NOT_FOUND"/>
<enumeration value="EMPTY_ACTION_LIST"/>
<enumeration value="NOT_ACTION_APPROVER"/>
<enumeration value="WORKFLOW_ALREADY_COMPLETED"/>
<enumeration value="WORKFLOW_ALREADY_FAILED"/>
<enumeration value="WORKFLOW_ALREADY_CANCELED"/>
<enumeration value="ACTION_COMPLETED"/>
<enumeration value="ACTION_FAILED"/>
<enumeration value="ACTION_CANCELED"/>
<enumeration value="ACTION_NOT_ACTIVE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTION_CANCELED
Means the action is already canceled.
|
ACTION_COMPLETED
Means the action is already completed.
|
ACTION_FAILED
Means the action is already failed.
|
ACTION_NOT_ACTIVE
Means the action currently is not active.
|
EMPTY_ACTION_LIST
Means no action is given, when user approve/reject a proposal, the action id list cannot be
empty.
|
NOT_ACTION_APPROVER
Means the user is not an approver of this action.
|
NOT_APPLICABLE
The action does not exist or is not applicable to the current state.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
WORKFLOW_ALREADY_CANCELED
Means the workflow is already canceled.
|
WORKFLOW_ALREADY_COMPLETED
Means the workflow is already completed.
|
WORKFLOW_ALREADY_FAILED
Means the workflow is already failed.
|
WORKFLOW_DEFINITION_NOT_FOUND
Means there's no workflow definition found for the entity.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkflowActionErrorReason |
fromValue(String v) |
String |
value() |
static WorkflowActionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowActionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowActionErrorReason NOT_APPLICABLE
public static final WorkflowActionErrorReason WORKFLOW_DEFINITION_NOT_FOUND
public static final WorkflowActionErrorReason EMPTY_ACTION_LIST
public static final WorkflowActionErrorReason NOT_ACTION_APPROVER
public static final WorkflowActionErrorReason WORKFLOW_ALREADY_COMPLETED
public static final WorkflowActionErrorReason WORKFLOW_ALREADY_FAILED
public static final WorkflowActionErrorReason WORKFLOW_ALREADY_CANCELED
public static final WorkflowActionErrorReason ACTION_COMPLETED
public static final WorkflowActionErrorReason ACTION_FAILED
public static final WorkflowActionErrorReason ACTION_CANCELED
public static final WorkflowActionErrorReason ACTION_NOT_ACTIVE
public static final WorkflowActionErrorReason UNKNOWN
public static WorkflowActionErrorReason[] values()
for (WorkflowActionErrorReason c : WorkflowActionErrorReason.values()) System.out.println(c);
public static WorkflowActionErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static WorkflowActionErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.