public enum States extends Enum<States>
| Enum Constant and Description |
|---|
ERROR |
ERROR_WILL_RETRY |
FINISHED |
KILLED |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static States |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static States[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final States SUCCESS
public static final States KILLED
public static final States ERROR
public static final States ERROR_WILL_RETRY
public static final States FINISHED
public static States[] values()
for (States c : States.values()) System.out.println(c);
public static States 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 nullCopyright © 2013–2018 Europeana Cloud Development Team. All rights reserved.