public enum WorkflowRequestErrorReason extends Enum<WorkflowRequestErrorReason>
Java class for WorkflowRequestError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="WorkflowRequestError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="REQUEST_ALREADY_PROCESSED"/>
<enumeration value="WORKFLOW_NOT_IN_PROGRESS"/>
<enumeration value="INVALID_REQUEST_ID"/>
<enumeration value="INVALID_ACTION"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_ACTION
The action could not be performed on a request of that type.
|
INVALID_REQUEST_ID
The request ID is invalid.
|
REQUEST_ALREADY_PROCESSED
The request has already been processed.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
WORKFLOW_NOT_IN_PROGRESS
The workflow is not in progress.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkflowRequestErrorReason |
fromValue(String v) |
String |
value() |
static WorkflowRequestErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowRequestErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowRequestErrorReason REQUEST_ALREADY_PROCESSED
public static final WorkflowRequestErrorReason WORKFLOW_NOT_IN_PROGRESS
public static final WorkflowRequestErrorReason INVALID_REQUEST_ID
public static final WorkflowRequestErrorReason INVALID_ACTION
public static final WorkflowRequestErrorReason UNKNOWN
public static WorkflowRequestErrorReason[] values()
for (WorkflowRequestErrorReason c : WorkflowRequestErrorReason.values()) System.out.println(c);
public static WorkflowRequestErrorReason 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 WorkflowRequestErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.