public enum ResourceCreateMode extends java.lang.Enum<ResourceCreateMode>
| Enum Constant and Description |
|---|
FAIL_IF_EXISTS
Fail if resource path already used
|
OVERWRITE
Overwrite if resource path already used
|
PUSH_NEW_VERSION
Push new version if path already used
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceCreateMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceCreateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceCreateMode FAIL_IF_EXISTS
public static final ResourceCreateMode OVERWRITE
public static final ResourceCreateMode PUSH_NEW_VERSION
public static ResourceCreateMode[] values()
for (ResourceCreateMode c : ResourceCreateMode.values()) System.out.println(c);
public static ResourceCreateMode 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