Enum PackageTypeValidation
- java.lang.Object
-
- java.lang.Enum<PackageTypeValidation>
-
- io.wcm.devops.conga.plugins.aem.maven.PackageTypeValidation
-
- All Implemented Interfaces:
Serializable
,Comparable<PackageTypeValidation>
public enum PackageTypeValidation extends Enum<PackageTypeValidation>
How to validate package types to be included in "all" package.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PackageTypeValidation
valueOf(String name)
Returns the enum constant of this type with the specified name.static PackageTypeValidation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRICT
public static final PackageTypeValidation STRICT
Strict mode: Ignores packages without content type (with warning), fails build if "mixed" package types are used. For AEMaaCS it is mandatory to use this mode.
-
WARN
public static final PackageTypeValidation WARN
Includes all packages, but generated warnings about packages without content type or "mixed" package types.
-
-
Method Detail
-
values
public static PackageTypeValidation[] 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 (PackageTypeValidation c : PackageTypeValidation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PackageTypeValidation 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
-
-