public enum OnDuplicateEntry extends Enum<OnDuplicateEntry>
Enum Constant and Description |
---|
APPEND
All entries are stored in the archive including the duplicates.
|
FAIL
Fail fast.
|
OVERWRITE
An entry is overwritten.
|
Modifier and Type | Method and Description |
---|---|
static OnDuplicateEntry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnDuplicateEntry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnDuplicateEntry FAIL
public static final OnDuplicateEntry OVERWRITE
public static final OnDuplicateEntry APPEND
public static OnDuplicateEntry[] values()
for (OnDuplicateEntry c : OnDuplicateEntry.values()) System.out.println(c);
public static OnDuplicateEntry 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