public enum OverwriteOption extends java.lang.Enum<OverwriteOption>
| Enum Constant and Description |
|---|
DoNotOverwrite
Do Not Overwrite the existing file and cancel the upload.
|
Overwrite
Overwrite the existing file.
|
Rename
Rename the current file to avoid a name conflict.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
overwriteQueryParamValue() |
static OverwriteOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OverwriteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OverwriteOption Overwrite
public static final OverwriteOption DoNotOverwrite
public static final OverwriteOption Rename
public static OverwriteOption[] values()
for (OverwriteOption c : OverwriteOption.values()) System.out.println(c);
public static OverwriteOption 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 nullprotected abstract java.lang.String overwriteQueryParamValue()