public static enum Status.StatusType extends Enum<Status.StatusType>
Enum Constant and Description |
---|
ERROR
Operation failed due to an error.
|
FATAL
Operation failed due to an unexpected error.
|
OK
Operation completed successfully.
|
WARNING
Operation completed successfully, but there is a warning message.
|
Modifier and Type | Method and Description |
---|---|
static Status.StatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.StatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.StatusType OK
public static final Status.StatusType WARNING
public static final Status.StatusType ERROR
public static final Status.StatusType FATAL
public static Status.StatusType[] values()
for (Status.StatusType c : Status.StatusType.values()) System.out.println(c);
public static Status.StatusType 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 © 2014. All Rights Reserved.