public static enum WriteMode.Tag extends java.lang.Enum<WriteMode.Tag>
WriteMode.| Enum Constant and Description |
|---|
ADD
Do not overwrite an existing file if there is a conflict.
|
OVERWRITE
Always overwrite the existing file.
|
UPDATE
Overwrite if the given "rev" matches the existing file's "rev".
|
| Modifier and Type | Method and Description |
|---|---|
static WriteMode.Tag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteMode.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteMode.Tag ADD
public static final WriteMode.Tag OVERWRITE
WriteMode.ADD.public static final WriteMode.Tag UPDATE
public static WriteMode.Tag[] values()
for (WriteMode.Tag c : WriteMode.Tag.values()) System.out.println(c);
public static WriteMode.Tag 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