public enum ReplicatorType extends Enum<ReplicatorType>
PUSH_AND_PULL: Bidirectional; both push and pull PUSH: Pushing changes to the target PULL: Pulling changes from the target
Enum Constant and Description |
---|
PULL |
PUSH |
PUSH_AND_PULL |
Modifier and Type | Method and Description |
---|---|
static ReplicatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicatorType PUSH_AND_PULL
public static final ReplicatorType PUSH
public static final ReplicatorType PULL
public static ReplicatorType[] values()
for (ReplicatorType c : ReplicatorType.values()) System.out.println(c);
public static ReplicatorType 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 null