public enum DomainEventType extends java.lang.Enum<DomainEventType>
Enum Constant and Description |
---|
CRASHED
A domain crashed
|
DEFINED
A domain was defined
|
PMSUSPENDED
A domain was PM suspended
|
RESUMED
A domain was resumed
|
SHUTDOWN
A domain was shut down
|
STARTED
A domain was started
|
STOPPED
A domain was stopped
|
SUSPENDED
A domain was suspended
|
UNDEFINED
A domain was undefined
|
UNKNOWN
An unknown event occured
This can happen if upstream libvirt adds more event types
that this library does not yet know about.
|
Modifier and Type | Method and Description |
---|---|
static DomainEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DomainEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainEventType DEFINED
public static final DomainEventType UNDEFINED
public static final DomainEventType STARTED
public static final DomainEventType SUSPENDED
public static final DomainEventType RESUMED
public static final DomainEventType STOPPED
public static final DomainEventType SHUTDOWN
public static final DomainEventType PMSUSPENDED
public static final DomainEventType CRASHED
public static final DomainEventType UNKNOWN
public static DomainEventType[] values()
for (DomainEventType c : DomainEventType.values()) System.out.println(c);
public static DomainEventType 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 null