public static enum ReplicaCollection.Builder.Conflict extends java.lang.Enum<ReplicaCollection.Builder.Conflict>
Enum Constant and Description |
---|
ALL
ignore all conflicts (the first occurrence and position wins)
|
DUPLICATE
fail on addition of any such conflict where the contents differ (first occurrence and position wins)
|
NONE
fail on addition of any such conflict
|
Modifier and Type | Method and Description |
---|---|
static ReplicaCollection.Builder.Conflict |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReplicaCollection.Builder.Conflict[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicaCollection.Builder.Conflict NONE
public static final ReplicaCollection.Builder.Conflict DUPLICATE
public static final ReplicaCollection.Builder.Conflict ALL
public static ReplicaCollection.Builder.Conflict[] values()
for (ReplicaCollection.Builder.Conflict c : ReplicaCollection.Builder.Conflict.values()) System.out.println(c);
public static ReplicaCollection.Builder.Conflict 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 nullCopyright © 2009-2020 The Apache Software Foundation