org.virtualbox_7_0
Enum GuestShutdownFlag

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

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

Guest shutdown flags. Interface ID: {28D19C9C-5862-4930-B29A-F117712B4864}


Enum Constant Summary
Force
          Force the system to shutdown/reboot regardless of objecting application or other stuff.
None
          No flag set.
PowerOff
          Performs a reboot after shutdown.
Reboot
          Performs a reboot after shutdown.
 
Method Summary
static GuestShutdownFlag fromValue(long v)
           
static GuestShutdownFlag fromValue(java.lang.String v)
           
 int value()
           
static GuestShutdownFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GuestShutdownFlag[] 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

None

public static final GuestShutdownFlag None
No flag set.


PowerOff

public static final GuestShutdownFlag PowerOff
Performs a reboot after shutdown.


Reboot

public static final GuestShutdownFlag Reboot
Performs a reboot after shutdown.


Force

public static final GuestShutdownFlag Force
Force the system to shutdown/reboot regardless of objecting application or other stuff. This flag might not be realized on all systems.

Method Detail

values

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

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

valueOf

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

fromValue

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