Enum Merger.AfterMerge
- java.lang.Object
-
- java.lang.Enum<Merger.AfterMerge>
-
- org.ametys.plugins.contentio.archive.Merger.AfterMerge
-
- All Implemented Interfaces:
Serializable
,Comparable<Merger.AfterMerge>
- Enclosing interface:
- Merger
public static enum Merger.AfterMerge extends Enum<Merger.AfterMerge>
The result ofMerger.merge(java.lang.String)
.
It tells whether to continue or stop the process of importing the given id.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUE_PROCESS
Continue importing the object after the merge was processed.STOP_PROCESS
Stop importing of the object after the merge was processed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Merger.AfterMerge
valueOf(String name)
Returns the enum constant of this type with the specified name.static Merger.AfterMerge[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOP_PROCESS
public static final Merger.AfterMerge STOP_PROCESS
Stop importing of the object after the merge was processed.
-
CONTINUE_PROCESS
public static final Merger.AfterMerge CONTINUE_PROCESS
Continue importing the object after the merge was processed.
-
-
Method Detail
-
values
public static Merger.AfterMerge[] 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 (Merger.AfterMerge c : Merger.AfterMerge.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Merger.AfterMerge 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
-
-