Enum Class PackageTypeValidation
- All Implemented Interfaces:
Serializable,Comparable<PackageTypeValidation>,Constable
How to validate package types to be included in "all" package.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PackageTypeValidationReturns the enum constant of this class with the specified name.static PackageTypeValidation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Includes all packages, but generated warnings about packages without content type or "mixed" package types.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-