Enum Class PackageTypeValidation

java.lang.Object
java.lang.Enum<PackageTypeValidation>
io.wcm.devops.conga.plugins.aem.maven.PackageTypeValidation
All Implemented Interfaces:
Serializable, Comparable<PackageTypeValidation>, Constable

public enum PackageTypeValidation extends Enum<PackageTypeValidation>
How to validate package types to be included in "all" package.
  • Enum Constant Details

    • 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 Details

    • values

      public static PackageTypeValidation[] 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

      public static PackageTypeValidation valueOf(String name)
      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 name
      NullPointerException - if the argument is null