org.virtualbox_6_0
Enum AutostopType

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

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

Autostop types, used withIMachine.getAutostopType(). Interface ID: {6BB96740-CF34-470D-AAB2-2CD48EA2E10E}


Enum Constant Summary
AcpiShutdown
          An ACPI shutdown event is generated.
Disabled
          Stopping the VM during system shutdown is disabled.
PowerOff
          The VM is powered off when the system shuts down.
SaveState
          The state of the VM will be saved when the system shuts down.
 
Method Summary
static AutostopType fromValue(long v)
           
static AutostopType fromValue(java.lang.String v)
           
 int value()
           
static AutostopType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AutostopType[] 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

Disabled

public static final AutostopType Disabled
Stopping the VM during system shutdown is disabled.


SaveState

public static final AutostopType SaveState
The state of the VM will be saved when the system shuts down.


PowerOff

public static final AutostopType PowerOff
The VM is powered off when the system shuts down.


AcpiShutdown

public static final AutostopType AcpiShutdown
An ACPI shutdown event is generated.

Method Detail

values

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

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

valueOf

public static AutostopType 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 AutostopType fromValue(long v)

fromValue

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