public static enum Bus.BusState extends Enum<Bus.BusState>
Enum Constant and Description |
---|
INITIAL |
INITIALIZING |
RUNNING |
SHUTDOWN |
SHUTTING_DOWN |
Modifier and Type | Method and Description |
---|---|
static Bus.BusState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bus.BusState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bus.BusState INITIAL
public static final Bus.BusState INITIALIZING
public static final Bus.BusState RUNNING
public static final Bus.BusState SHUTTING_DOWN
public static final Bus.BusState SHUTDOWN
public static Bus.BusState[] values()
for (Bus.BusState c : Bus.BusState.values()) System.out.println(c);
public static Bus.BusState 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 nullApache CXF