Package org.libvirt
Enum Class DomainInfo.DomainState
- All Implemented Interfaces:
Serializable
,Comparable<DomainInfo.DomainState>
,Constable
- Enclosing class:
- DomainInfo
- Author:
- stoty
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe domain is blocked on resourcethe domain is crashedno statethe domain is paused by userthe domain is suspended by guest power managementthe domain is runningthe domain is being shut downthe domain is shut off -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainInfo.DomainState
Returns the enum constant of this class with the specified name.static DomainInfo.DomainState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VIR_DOMAIN_NOSTATE
no state -
VIR_DOMAIN_RUNNING
the domain is running -
VIR_DOMAIN_BLOCKED
the domain is blocked on resource -
VIR_DOMAIN_PAUSED
the domain is paused by user -
VIR_DOMAIN_SHUTDOWN
the domain is being shut down -
VIR_DOMAIN_SHUTOFF
the domain is shut off -
VIR_DOMAIN_CRASHED
the domain is crashed -
VIR_DOMAIN_PMSUSPENDED
the domain is suspended by guest power management
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-