public enum JobResult extends Enum<JobResult>
| Enum Constant and Description |
|---|
CANCELLED
Enum value Cancelled.
|
FAILED
Enum value Failed.
|
NONE
Enum value None.
|
SUCCEEDED
Enum value Succeeded.
|
| Modifier and Type | Method and Description |
|---|---|
static JobResult |
fromString(String value)
Parses a serialized value to a JobResult instance.
|
String |
toString() |
static JobResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobResult NONE
public static final JobResult SUCCEEDED
public static final JobResult CANCELLED
public static final JobResult FAILED
public static JobResult[] values()
for (JobResult c : JobResult.values()) System.out.println(c);
public static JobResult 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 static JobResult fromString(String value)
value - the serialized value to parse.Copyright © 2019. All rights reserved.