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