Enum PackageType
- All Implemented Interfaces:
Serializable,Comparable<PackageType>,java.lang.constant.Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn application package consists purely of application content.A container package only contains sub packages and OSGi configuration and bundles.A content package consists only of content and user defined configuration.Catch all type for a combination of the above. -
Method Summary
Modifier and TypeMethodDescriptionstatic PackageTypeReturns the enum constant of this type with the specified name.static PackageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
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
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
A container package only contains sub packages and OSGi configuration and bundles. The container package is only used as container for deployment. -
MIXED
Catch all type for a combination of the above.
-
-
Method Details
-
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
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
-