com.openshift.client
Enum GearState
java.lang.Object
java.lang.Enum<GearState>
com.openshift.client.GearState
- All Implemented Interfaces:
- Serializable, Comparable<GearState>
public enum GearState
- extends Enum<GearState>
BUILDING
public static final GearState BUILDING
- See Also:
- OpenShift
Origin Cartridge Developer’s Guide, 7.10.2. The status Action
DEPLOYING
public static final GearState DEPLOYING
IDLE
public static final GearState IDLE
NEW
public static final GearState NEW
STARTED
public static final GearState STARTED
STOPPED
public static final GearState STOPPED
UNKNOWN
public static final GearState UNKNOWN
values
public static GearState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GearState c : GearState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GearState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
safeValueOf
public static GearState safeValueOf(String gearStateString)
Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.