public static enum ReplicationState.Mode extends Enum<ReplicationState.Mode>
Possible transitions:
Modifier and Type | Method and Description |
---|---|
Set<ReplicationState.Mode> |
validPreviousModes() |
static ReplicationState.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationState.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationState.Mode PULL
public static final ReplicationState.Mode PUSH
public static ReplicationState.Mode[] values()
for (ReplicationState.Mode c : ReplicationState.Mode.values()) System.out.println(c);
public static ReplicationState.Mode 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 Set<ReplicationState.Mode> validPreviousModes()