Enum PackageType

java.lang.Object
java.lang.Enum<PackageType>
org.apache.jackrabbit.vault.packaging.PackageType
All Implemented Interfaces:
Serializable, Comparable<PackageType>, java.lang.constant.Constable

public enum PackageType extends Enum<PackageType>
Specifies the type of the package. The package type helps to characterize the contents of a package and influences how the package is used during deployment, installation and removal.
  • Enum Constant Details

    • APPLICATION

      public static final PackageType APPLICATION
      An application package consists purely of application content. It serializes entire subtrees with no inclusion or exclusion filters. it does not contain any subpackages nor OSGi configuration or bundles.
    • CONTENT

      public static final PackageType CONTENT
      A content package consists only of content and user defined configuration. It usually serializes entire subtrees but can contain inclusion or exclusion filters. it does not contain any subpackages nor OSGi configuration or bundles.
    • CONTAINER

      public static final PackageType CONTAINER
      A container package only contains sub packages and OSGi configuration and bundles. The container package is only used as container for deployment.
    • MIXED

      public static final PackageType MIXED
      Catch all type for a combination of the above.
  • Method Details

    • values

      public static PackageType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PackageType 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 name
      NullPointerException - if the argument is null