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