public enum State extends Enum<State>
Enum Constant and Description |
---|
DOWN |
REMOVED |
START_FAILED |
STARTING |
STOPPING |
UP |
Modifier and Type | Method and Description |
---|---|
String |
getAllowedValue()
Returns the allowed value for the management model.
|
String |
toString() |
static State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final State DOWN
public static final State STARTING
public static final State START_FAILED
public static final State UP
public static final State STOPPING
public static final State REMOVED
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static 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 String getAllowedValue()
Copyright © 2018 JBoss by Red Hat. All rights reserved.