org.soyatec.windowsazure.management
Enum InstanceStatus

java.lang.Object
  extended by java.lang.Enum<InstanceStatus>
      extended by org.soyatec.windowsazure.management.InstanceStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InstanceStatus>

public enum InstanceStatus
extends java.lang.Enum<InstanceStatus>

The enum contains the instance states.


Enum Constant Summary
Aborted
           
Alerted
           
Busy
           
Created
           
Destroyed
           
Initialized
           
Initializing
           
Ready
           
Started
           
Stopped
           
Stopping
           
Suspended
           
Teardown
           
Unhealthy
           
Unknown
           
Unresponsive
           
 
Method Summary
 java.lang.String getLiteral()
           
static InstanceStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InstanceStatus[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Unknown

public static final InstanceStatus Unknown

Initialized

public static final InstanceStatus Initialized

Created

public static final InstanceStatus Created

Started

public static final InstanceStatus Started

Stopping

public static final InstanceStatus Stopping

Stopped

public static final InstanceStatus Stopped

Aborted

public static final InstanceStatus Aborted

Unresponsive

public static final InstanceStatus Unresponsive

Unhealthy

public static final InstanceStatus Unhealthy

Suspended

public static final InstanceStatus Suspended

Teardown

public static final InstanceStatus Teardown

Destroyed

public static final InstanceStatus Destroyed

Busy

public static final InstanceStatus Busy

Alerted

public static final InstanceStatus Alerted

Initializing

public static final InstanceStatus Initializing

Ready

public static final InstanceStatus Ready
Method Detail

values

public static final InstanceStatus[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(InstanceStatus c : InstanceStatus.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static InstanceStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getLiteral

public java.lang.String getLiteral()
Returns:
the literal