public enum ApplicationState extends Enum<ApplicationState>
Enum Constant and Description |
---|
FAIL |
HELP |
NONE |
START |
STOP |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static ApplicationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationState NONE
public static final ApplicationState SUCCESS
public static final ApplicationState FAIL
public static final ApplicationState HELP
public static final ApplicationState START
public static final ApplicationState STOP
public static ApplicationState[] values()
for (ApplicationState c : ApplicationState.values()) System.out.println(c);
public static ApplicationState 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 © 2015. All rights reserved.