Package org.libvirt.event
Enum Class SuspendedDetail
- All Implemented Interfaces:
Serializable
,Comparable<SuspendedDetail>
,Constable
,DomainEventDetail
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSuspended after failure during libvirt API call.Restored from paused snapshot.Suspended due to a disk I/O error.Suspended for offline migration.Normal suspend due to admin pause.Restored from paused state file.Suspended due to a watchdog firing. -
Method Summary
Modifier and TypeMethodDescriptionstatic SuspendedDetail
Returns the enum constant of this class with the specified name.static SuspendedDetail[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PAUSED
Normal suspend due to admin pause. -
MIGRATED
Suspended for offline migration. -
IOERROR
Suspended due to a disk I/O error. -
WATCHDOG
Suspended due to a watchdog firing. -
RESTORED
Restored from paused state file. -
FROM_SNAPSHOT
Restored from paused snapshot. -
API_ERROR
Suspended after failure during libvirt API call. -
UNKNOWN
-
-
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
-