org.libvirt
public static class DomainInfo.DomainState extends Enum<DomainInfo.DomainState>
| Field Summary | |
|---|---|
| static List<DomainInfo.DomainState> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
| static DomainInfo.DomainState | VIR_DOMAIN_BLOCKED
the domain is blocked on resource |
| static DomainInfo.DomainState | VIR_DOMAIN_CRASHED
the domain is crashed |
| static DomainInfo.DomainState | VIR_DOMAIN_NOSTATE
no state |
| static DomainInfo.DomainState | VIR_DOMAIN_PAUSED
the domain is paused by user |
| static DomainInfo.DomainState | VIR_DOMAIN_RUNNING
the domain is running |
| static DomainInfo.DomainState | VIR_DOMAIN_SHUTDOWN
the domain is being shut down |
| static DomainInfo.DomainState | VIR_DOMAIN_SHUTOFF
the domain is shut off |
| Method Summary | |
|---|---|
| List<DomainInfo.DomainState> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
| static DomainInfo.DomainState | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(DomainState c : DomainState.VALUES)
System.out.println(c);VALUES. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES.Returns: an immutable list containing the values comprising this enum class, in the order they're declared.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.