public enum ReplicationVmState extends Enum<ReplicationVmState>
Java class for ReplicationVmState.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReplicationVmState">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="paused"/>
<enumeration value="syncing"/>
<enumeration value="idle"/>
<enumeration value="active"/>
<enumeration value="error"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE |
ERROR |
IDLE |
NONE |
PAUSED |
SYNCING |
| Modifier and Type | Method and Description |
|---|---|
static ReplicationVmState |
fromValue(String v) |
String |
value() |
static ReplicationVmState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationVmState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationVmState NONE
public static final ReplicationVmState PAUSED
public static final ReplicationVmState SYNCING
public static final ReplicationVmState IDLE
public static final ReplicationVmState ACTIVE
public static final ReplicationVmState ERROR
public static ReplicationVmState[] values()
for (ReplicationVmState c : ReplicationVmState.values()) System.out.println(c);
public static ReplicationVmState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ReplicationVmState fromValue(String v)
Copyright © 2018. All rights reserved.