public enum GearState extends Enum<GearState>
Enum Constant and Description |
---|
BUILDING |
DEPLOYING |
IDLE |
STARTED |
STOPPED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static GearState |
safeValueOf(String gearStateString) |
static GearState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GearState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GearState STOPPED
public static final GearState BUILDING
public static final GearState DEPLOYING
public static final GearState STARTED
public static final GearState IDLE
public static final GearState UNKNOWN
public static GearState[] values()
for (GearState c : GearState.values()) System.out.println(c);
public static GearState 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 nullCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.