|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SessionType>
org.virtualbox_4_2.SessionType
public enum SessionType
Session type. This enumeration represents possible values of the
ISession.getType()
attribute.
Interface ID: {A13C02CB-0C2C-421E-8317-AC0E8AAA153A}
Enum Constant Summary | |
---|---|
Null
Null value (never used by the API). |
|
Remote
Session has launched a VM process using IMachine.launchVMProcess(org.virtualbox_4_2.ISession,String,String) |
|
Shared
Session has obtained a link to another session using IMachine.lockMachine(org.virtualbox_4_2.ISession,org.virtualbox_4_2.LockType) |
|
WriteLock
Session has acquired an exclusive write lock on a machine using IMachine.lockMachine(org.virtualbox_4_2.ISession,org.virtualbox_4_2.LockType) . |
Method Summary | |
---|---|
static SessionType |
fromValue(long v)
|
static SessionType |
fromValue(java.lang.String v)
|
int |
value()
|
static SessionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SessionType[] |
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 |
---|
public static final SessionType Null
public static final SessionType WriteLock
IMachine.lockMachine(org.virtualbox_4_2.ISession,org.virtualbox_4_2.LockType)
.
public static final SessionType Remote
IMachine.launchVMProcess(org.virtualbox_4_2.ISession,String,String)
public static final SessionType Shared
IMachine.lockMachine(org.virtualbox_4_2.ISession,org.virtualbox_4_2.LockType)
Method Detail |
---|
public static SessionType[] values()
for (SessionType c : SessionType.values()) System.out.println(c);
public static SessionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static SessionType fromValue(long v)
public static SessionType fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |