Package net.jangaroo.jooc.mvnplugin.util
Enum MergeHelper.ListStrategy
- java.lang.Object
-
- java.lang.Enum<MergeHelper.ListStrategy>
-
- net.jangaroo.jooc.mvnplugin.util.MergeHelper.ListStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<MergeHelper.ListStrategy>
- Enclosing class:
- MergeHelper
public static enum MergeHelper.ListStrategy extends Enum<MergeHelper.ListStrategy>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MergeHelper.ListStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static MergeHelper.ListStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE
public static final MergeHelper.ListStrategy REPLACE
-
MERGE
public static final MergeHelper.ListStrategy MERGE
-
APPEND
public static final MergeHelper.ListStrategy APPEND
-
-
Method Detail
-
values
public static MergeHelper.ListStrategy[] 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 (MergeHelper.ListStrategy c : MergeHelper.ListStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MergeHelper.ListStrategy 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
-
-