public enum CleanupMode extends java.lang.Enum<CleanupMode>
IMachine.unregister(org.virtualbox_6_0.CleanupMode)
.
Interface ID: {67897C50-7CCA-47A9-83F6-CE8FD8EB5441}Enum Constant and Description |
---|
DetachAllReturnHardDisksOnly
Delete all snapshots, detach all media and return hard disks for closing, but not removable media.
|
DetachAllReturnNone
Delete all snapshots and detach all media but return none; this will keep all media registered.
|
Full
Delete all snapshots, detach all media and return all media for closing.
|
UnregisterOnly
Unregister only the machine, but neither delete snapshots nor detach media.
|
Modifier and Type | Method and Description |
---|---|
static CleanupMode |
fromValue(long v) |
static CleanupMode |
fromValue(java.lang.String v) |
int |
value() |
static CleanupMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CleanupMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CleanupMode UnregisterOnly
public static final CleanupMode DetachAllReturnNone
public static final CleanupMode DetachAllReturnHardDisksOnly
public static final CleanupMode Full
public static CleanupMode[] values()
for (CleanupMode c : CleanupMode.values()) System.out.println(c);
public static CleanupMode 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 namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static CleanupMode fromValue(long v)
public static CleanupMode fromValue(java.lang.String v)