public static enum Status.State extends Enum<Status.State>
Enum Constant and Description |
---|
Error
Error state.
|
Failure
Failure state.
|
Pending
Pending state.
|
Success
Success state.
|
Modifier and Type | Method and Description |
---|---|
static Status.State |
forValue(String name)
Get enum value from string.
|
static Status.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.State Pending
public static final Status.State Success
public static final Status.State Error
public static final Status.State Failure
public static Status.State[] values()
for (Status.State c : Status.State.values()) System.out.println(c);
public static Status.State 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 Status.State forValue(String name)
name
- Enum nameCopyright © 2012–2015 jcabi.com. All rights reserved.