public static enum WorkflowInstance.StatusEnum extends Enum<WorkflowInstance.StatusEnum>
Enum Constant and Description |
---|
CANCELED
The CANCELED option of this WorkflowInstance
|
COMPLETED
The COMPLETED option of this WorkflowInstance
|
ERRONEOUS
The ERRONEOUS option of this WorkflowInstance
|
RUNNING
The RUNNING option of this WorkflowInstance
|
SUSPENDED
The SUSPENDED option of this WorkflowInstance
|
Modifier and Type | Method and Description |
---|---|
static WorkflowInstance.StatusEnum |
fromValue(String value)
Get the enum value from a String value
|
String |
getValue()
Get the value of the enum
|
String |
toString()
Get the String value of the enum value.
|
static WorkflowInstance.StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowInstance.StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowInstance.StatusEnum RUNNING
public static final WorkflowInstance.StatusEnum ERRONEOUS
public static final WorkflowInstance.StatusEnum SUSPENDED
public static final WorkflowInstance.StatusEnum CANCELED
public static final WorkflowInstance.StatusEnum COMPLETED
public static WorkflowInstance.StatusEnum[] values()
for (WorkflowInstance.StatusEnum c : WorkflowInstance.StatusEnum.values()) System.out.println(c);
public static WorkflowInstance.StatusEnum 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 null@Nonnull public String toString()
toString
in class Enum<WorkflowInstance.StatusEnum>
@Nonnull public static WorkflowInstance.StatusEnum fromValue(@Nonnull String value)
value
- The Strin valueCopyright © 2021 SAP SE. All rights reserved.