Enum Class SuspendedDetail

java.lang.Object
java.lang.Enum<SuspendedDetail>
org.libvirt.event.SuspendedDetail
All Implemented Interfaces:
Serializable, Comparable<SuspendedDetail>, Constable, DomainEventDetail

public enum SuspendedDetail extends Enum<SuspendedDetail> implements DomainEventDetail
  • Enum Constant Details

    • PAUSED

      public static final SuspendedDetail PAUSED
      Normal suspend due to admin pause.
    • MIGRATED

      public static final SuspendedDetail MIGRATED
      Suspended for offline migration.
    • IOERROR

      public static final SuspendedDetail IOERROR
      Suspended due to a disk I/O error.
    • WATCHDOG

      public static final SuspendedDetail WATCHDOG
      Suspended due to a watchdog firing.
    • RESTORED

      public static final SuspendedDetail RESTORED
      Restored from paused state file.
    • FROM_SNAPSHOT

      public static final SuspendedDetail FROM_SNAPSHOT
      Restored from paused snapshot.
    • API_ERROR

      public static final SuspendedDetail API_ERROR
      Suspended after failure during libvirt API call.
    • UNKNOWN

      public static final SuspendedDetail UNKNOWN
  • Method Details

    • values

      public static SuspendedDetail[] 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

      public static SuspendedDetail valueOf(String name)
      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 name
      NullPointerException - if the argument is null