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