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