public enum ReplicationConflictResolutionMode extends java.lang.Enum<ReplicationConflictResolutionMode>
Enum Constant and Description |
---|
ACCEPT_MOST_RECENT |
ACCEPT_SOURCE |
ACCEPT_TARGET |
CANCEL |
Modifier and Type | Method and Description |
---|---|
static ReplicationConflictResolutionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationConflictResolutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationConflictResolutionMode CANCEL
public static final ReplicationConflictResolutionMode ACCEPT_SOURCE
public static final ReplicationConflictResolutionMode ACCEPT_TARGET
public static final ReplicationConflictResolutionMode ACCEPT_MOST_RECENT
public static ReplicationConflictResolutionMode[] values()
for (ReplicationConflictResolutionMode c : ReplicationConflictResolutionMode.values()) System.out.println(c);
public static ReplicationConflictResolutionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null