org.virtualbox_4_1
Enum FaultToleranceState

java.lang.Object
  extended by java.lang.Enum<FaultToleranceState>
      extended by org.virtualbox_4_1.FaultToleranceState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FaultToleranceState>

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

Used with IMachine.getFaultToleranceState(). Interface ID: {5124F7EC-6B67-493C-9DEE-EE45A44114E1}


Enum Constant Summary
Inactive
          No fault tolerance enabled.
Master
          Fault tolerant master VM.
Standby
          Fault tolerant standby VM.
 
Method Summary
static FaultToleranceState fromValue(long v)
           
static FaultToleranceState fromValue(java.lang.String v)
           
 int value()
           
static FaultToleranceState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FaultToleranceState[] 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

Inactive

public static final FaultToleranceState Inactive
No fault tolerance enabled.


Master

public static final FaultToleranceState Master
Fault tolerant master VM.


Standby

public static final FaultToleranceState Standby
Fault tolerant standby VM.

Method Detail

values

public static FaultToleranceState[] 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 (FaultToleranceState c : FaultToleranceState.values())
    System.out.println(c);

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

valueOf

public static FaultToleranceState 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
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static FaultToleranceState fromValue(long v)

fromValue

public static FaultToleranceState fromValue(java.lang.String v)