org.virtualbox_5_1
Enum GuestSessionStatus

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

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

Guest session status. This enumeration represents possible values of theIGuestSession.getStatus()attribute. Interface ID: {AC2669DA-4624-44F2-85B5-0B0BFB8D8673}


Enum Constant Summary
Down
          Service/OS is stopping, guest session was killed.
Error
          Something went wrong.
Started
          Guest session has been started.
Starting
          Guest session is being started.
Terminated
          Guest session terminated normally.
Terminating
          Guest session is being terminated.
TimedOutAbnormally
          Guest session timed out and was not killed successfully.
TimedOutKilled
          Guest session timed out and was killed.
Undefined
          Guest session is in an undefined state.
 
Method Summary
static GuestSessionStatus fromValue(long v)
           
static GuestSessionStatus fromValue(java.lang.String v)
           
 int value()
           
static GuestSessionStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GuestSessionStatus[] 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

Undefined

public static final GuestSessionStatus Undefined
Guest session is in an undefined state.


Starting

public static final GuestSessionStatus Starting
Guest session is being started.


Started

public static final GuestSessionStatus Started
Guest session has been started.


Terminating

public static final GuestSessionStatus Terminating
Guest session is being terminated.


Terminated

public static final GuestSessionStatus Terminated
Guest session terminated normally.


TimedOutKilled

public static final GuestSessionStatus TimedOutKilled
Guest session timed out and was killed.


TimedOutAbnormally

public static final GuestSessionStatus TimedOutAbnormally
Guest session timed out and was not killed successfully.


Down

public static final GuestSessionStatus Down
Service/OS is stopping, guest session was killed.


Error

public static final GuestSessionStatus Error
Something went wrong.

Method Detail

values

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

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

valueOf

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

fromValue

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