Enum Class AddOrUpdateResourceHelper.ResourceOperationMode
java.lang.Object
java.lang.Enum<AddOrUpdateResourceHelper.ResourceOperationMode>
org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper.ResourceOperationMode
- All Implemented Interfaces:
- Serializable,- Comparable<AddOrUpdateResourceHelper.ResourceOperationMode>,- java.lang.constant.Constable
- Enclosing class:
- AddOrUpdateResourceHelper
public static enum AddOrUpdateResourceHelper.ResourceOperationMode
extends Enum<AddOrUpdateResourceHelper.ResourceOperationMode>
Possible add and update modes
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAddAdd and allow renameAdd with an unzipUpdate
- 
Method SummaryModifier and TypeMethodDescriptioncreatesFromRawMode(String mode) Converts an raw input mode to the corresponding ResourceOperationModetoString()Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ADDAdd
- 
ADD_UNZIPAdd with an unzip
- 
ADD_RENAMEAdd and allow rename
- 
UPDATEUpdate
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
toString- Overrides:
- toStringin class- Enum<AddOrUpdateResourceHelper.ResourceOperationMode>
 
- 
createsFromRawModeConverts an raw input mode to the corresponding ResourceOperationMode- Parameters:
- mode- The raw mode to convert
- Returns:
- the corresponding ResourceOperationMode or null if unknown
 
 
-