|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MediumState>
org.virtualbox_4_1.MediumState
public enum MediumState
Virtual medium state.
Interface ID: {EF41E980-E012-43CD-9DEA-479D4EF14D13}
Enum Constant Summary | |
---|---|
Created
Associated storage exists and accessible; this gets set if the accessibility check performed by IMedium.refreshState()
was successful. |
|
Creating
Associated medium storage is being created. |
|
Deleting
Associated medium storage is being deleted. |
|
Inaccessible
Medium accessibility check (see IMedium.refreshState() ) has
not yet been performed, or else, associated medium storage is not
accessible. |
|
LockedRead
Medium is locked for reading (see IMedium.lockRead() ),
no data modification is possible. |
|
LockedWrite
Medium is locked for writing (see IMedium.lockWrite() ),
no concurrent data reading or modification is possible. |
|
NotCreated
Associated medium storage does not exist (either was not created yet or was deleted). |
Method Summary | |
---|---|
static MediumState |
fromValue(long v)
|
static MediumState |
fromValue(java.lang.String v)
|
int |
value()
|
static MediumState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MediumState[] |
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 MediumState NotCreated
public static final MediumState Created
IMedium.refreshState()
was successful.
public static final MediumState LockedRead
IMedium.lockRead()
),
no data modification is possible.
public static final MediumState LockedWrite
IMedium.lockWrite()
),
no concurrent data reading or modification is possible.
public static final MediumState Inaccessible
IMedium.refreshState()
) has
not yet been performed, or else, associated medium storage is not
accessible. In the first case, IMedium.getLastAccessError()
is empty, in the second case, it describes the error that occurred.
public static final MediumState Creating
public static final MediumState Deleting
Method Detail |
---|
public static MediumState[] values()
for (MediumState c : MediumState.values()) System.out.println(c);
public static MediumState 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 MediumState fromValue(long v)
public static MediumState fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |