com.xensource.xenapi
Enum Types.HostDisplay

java.lang.Object
  extended by java.lang.Enum<Types.HostDisplay>
      extended by com.xensource.xenapi.Types.HostDisplay
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Types.HostDisplay>
Enclosing class:
Types

public static enum Types.HostDisplay
extends java.lang.Enum<Types.HostDisplay>


Enum Constant Summary
DISABLE_ON_REBOOT
          The host will stop outputting its console to a physical display device on next boot
DISABLED
          This host is not outputting its console to a physical display device
ENABLE_ON_REBOOT
          The host will start outputting its console to a physical display device on next boot
ENABLED
          This host is outputting its console to a physical display device
UNRECOGNIZED
          The value does not belong to this enumeration
 
Method Summary
 java.lang.String toString()
           
static Types.HostDisplay valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Types.HostDisplay[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNRECOGNIZED

public static final Types.HostDisplay UNRECOGNIZED
The value does not belong to this enumeration


ENABLED

public static final Types.HostDisplay ENABLED
This host is outputting its console to a physical display device


DISABLE_ON_REBOOT

public static final Types.HostDisplay DISABLE_ON_REBOOT
The host will stop outputting its console to a physical display device on next boot


DISABLED

public static final Types.HostDisplay DISABLED
This host is not outputting its console to a physical display device


ENABLE_ON_REBOOT

public static final Types.HostDisplay ENABLE_ON_REBOOT
The host will start outputting its console to a physical display device on next boot

Method Detail

values

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

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

valueOf

public static Types.HostDisplay 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Types.HostDisplay>