public enum ApplicationState extends Enum<ApplicationState>
Application| Enum Constant and Description |
|---|
STARTED
The running state
|
STOPPED
The succeeded state
|
| Modifier and Type | Method and Description |
|---|---|
static ApplicationState |
from(String s) |
String |
getValue() |
String |
toString() |
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 STARTED
public static final ApplicationState STOPPED
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 nullpublic static ApplicationState from(String s)
public String getValue()
public String toString()
toString in class Enum<ApplicationState>Copyright © 2020. All rights reserved.