|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<VirDomainInfo.VirDomainState>
org.libvirt.VirDomainInfo.VirDomainState
public static enum VirDomainInfo.VirDomainState
Enum Constant Summary | |
---|---|
VIR_DOMAIN_BLOCKED
the domain is blocked on resource |
|
VIR_DOMAIN_CRASHED
the domain is crashed |
|
VIR_DOMAIN_NOSTATE
no state |
|
VIR_DOMAIN_PAUSED
the domain is paused by user |
|
VIR_DOMAIN_RUNNING
the domain is running |
|
VIR_DOMAIN_SHUTDOWN
the domain is being shut down |
|
VIR_DOMAIN_SHUTOFF
the domain is shut off |
Method Summary | |
---|---|
static VirDomainInfo.VirDomainState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VirDomainInfo.VirDomainState[] |
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 VirDomainInfo.VirDomainState VIR_DOMAIN_NOSTATE
public static final VirDomainInfo.VirDomainState VIR_DOMAIN_RUNNING
public static final VirDomainInfo.VirDomainState VIR_DOMAIN_BLOCKED
public static final VirDomainInfo.VirDomainState VIR_DOMAIN_PAUSED
public static final VirDomainInfo.VirDomainState VIR_DOMAIN_SHUTDOWN
public static final VirDomainInfo.VirDomainState VIR_DOMAIN_SHUTOFF
public static final VirDomainInfo.VirDomainState VIR_DOMAIN_CRASHED
Method Detail |
---|
public static VirDomainInfo.VirDomainState[] values()
for (VirDomainInfo.VirDomainState c : VirDomainInfo.VirDomainState.values()) System.out.println(c);
public static VirDomainInfo.VirDomainState 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 null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |