public static enum Environment.EnvironmentState extends Enum<Environment.EnvironmentState>
| Modifier and Type | Method and Description |
|---|---|
static Environment.EnvironmentState |
forValue(String value) |
String |
toString() |
String |
toValue() |
static Environment.EnvironmentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Environment.EnvironmentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Environment.EnvironmentState AVAILABLE
public static final Environment.EnvironmentState STOPPED
public static Environment.EnvironmentState[] values()
for (Environment.EnvironmentState c : Environment.EnvironmentState.values()) System.out.println(c);
public static Environment.EnvironmentState 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 Environment.EnvironmentState forValue(String value)
public String toValue()
public String toString()
toString in class Enum<Environment.EnvironmentState>Copyright © 2019. All rights reserved.