OpenShift Java Client 2.5.0.Final

com.openshift.client
Enum GearState

java.lang.Object
  extended by java.lang.Enum<GearState>
      extended by com.openshift.client.GearState
All Implemented Interfaces:
Serializable, Comparable<GearState>

public enum GearState
extends Enum<GearState>


Enum Constant Summary
BUILDING
           
DEPLOYING
           
IDLE
           
NEW
           
STARTED
           
STOPPED
           
UNKNOWN
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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)

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.