public static enum HistoryEntry.RESULT extends Enum<HistoryEntry.RESULT>
| Enum Constant and Description |
|---|
FAILURE
Execution of one or more scripts failed
|
SUCCESS
All scripts executed successfully
|
UNKNOWN
Execution not yet finished
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Returns the human-readable label for this result.
|
static HistoryEntry.RESULT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HistoryEntry.RESULT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistoryEntry.RESULT SUCCESS
public static final HistoryEntry.RESULT FAILURE
public static final HistoryEntry.RESULT UNKNOWN
public static HistoryEntry.RESULT[] values()
for (HistoryEntry.RESULT c : HistoryEntry.RESULT.values()) System.out.println(c);
public static HistoryEntry.RESULT 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 String getLabel()
Copyright © 2018. All rights reserved.