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