public static enum AddOrUpdateResourceHelper.ResourceOperationMode extends Enum<AddOrUpdateResourceHelper.ResourceOperationMode>
Enum Constant and Description |
---|
ADD
Add
|
ADD_RENAME
Add and allow rename
|
ADD_UNZIP
Add with an unzip
|
UPDATE
Update
|
Modifier and Type | Method and Description |
---|---|
static AddOrUpdateResourceHelper.ResourceOperationMode |
createsFromRawMode(String mode)
Converts an raw input mode to the corresponding ResourceOperationMode
|
String |
toString() |
static AddOrUpdateResourceHelper.ResourceOperationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddOrUpdateResourceHelper.ResourceOperationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddOrUpdateResourceHelper.ResourceOperationMode ADD
public static final AddOrUpdateResourceHelper.ResourceOperationMode ADD_UNZIP
public static final AddOrUpdateResourceHelper.ResourceOperationMode ADD_RENAME
public static final AddOrUpdateResourceHelper.ResourceOperationMode UPDATE
public static AddOrUpdateResourceHelper.ResourceOperationMode[] values()
for (AddOrUpdateResourceHelper.ResourceOperationMode c : AddOrUpdateResourceHelper.ResourceOperationMode.values()) System.out.println(c);
public static AddOrUpdateResourceHelper.ResourceOperationMode 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 nullpublic String toString()
toString
in class Enum<AddOrUpdateResourceHelper.ResourceOperationMode>
public static AddOrUpdateResourceHelper.ResourceOperationMode createsFromRawMode(String mode)
mode
- The raw mode to convert