Enum RunModeOptimization
- java.lang.Object
-
- java.lang.Enum<RunModeOptimization>
-
- io.wcm.devops.conga.plugins.aem.maven.RunModeOptimization
-
- All Implemented Interfaces:
Serializable
,Comparable<RunModeOptimization>
public enum RunModeOptimization extends Enum<RunModeOptimization>
How to optimize author/publish run modes in resulting "all" package.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELIMINATE_DUPLICATES
Eliminates duplicates to ensure that content packages and bundles that are installed on both author and publish instances are contained only once in the "all" package.OFF
No optimization takes place.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RunModeOptimization
valueOf(String name)
Returns the enum constant of this type with the specified name.static RunModeOptimization[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final RunModeOptimization OFF
No optimization takes place. Content packages and bundles are duplicated for author/publish run modes to ensure strict following of dependency chain defined in CONGA.
-
ELIMINATE_DUPLICATES
public static final RunModeOptimization ELIMINATE_DUPLICATES
Eliminates duplicates to ensure that content packages and bundles that are installed on both author and publish instances are contained only once in the "all" package.
-
-
Method Detail
-
values
public static RunModeOptimization[] 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 (RunModeOptimization c : RunModeOptimization.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RunModeOptimization 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
-
-