Enum RegisterFileSetRequest.ClashOptions
- java.lang.Object
-
- java.lang.Enum<RegisterFileSetRequest.ClashOptions>
-
- org.gcube.application.geoportal.common.model.rest.RegisterFileSetRequest.ClashOptions
-
- All Implemented Interfaces:
Serializable,Comparable<RegisterFileSetRequest.ClashOptions>
- Enclosing class:
- RegisterFileSetRequest
public static enum RegisterFileSetRequest.ClashOptions extends Enum<RegisterFileSetRequest.ClashOptions>
Behavior for existing JSON Object at @destinationPath REPLACE_EXISTING : removes previously defined attributes (only on single match) MERGE_EXISTING : merges the provided attributes with the matching ones (only on single match) APPEND : appends the object to the existing collection (only if field is multiple)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPENDMERGE_EXISTINGREPLACE_EXISTING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegisterFileSetRequest.ClashOptionsvalueOf(String name)Returns the enum constant of this type with the specified name.static RegisterFileSetRequest.ClashOptions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE_EXISTING
public static final RegisterFileSetRequest.ClashOptions REPLACE_EXISTING
-
MERGE_EXISTING
public static final RegisterFileSetRequest.ClashOptions MERGE_EXISTING
-
APPEND
public static final RegisterFileSetRequest.ClashOptions APPEND
-
-
Method Detail
-
values
public static RegisterFileSetRequest.ClashOptions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RegisterFileSetRequest.ClashOptions c : RegisterFileSetRequest.ClashOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegisterFileSetRequest.ClashOptions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-