Package aQute.bnd.osgi
Enum Class AttributeClasses
- All Implemented Interfaces:
Serializable
,Comparable<AttributeClasses>
,Constable
,Predicate<String>
Defines a number of attribute classes. Attributes are set on
Packages
and Parameters
. The primary purpose is to print these attributes in
the manifest. However, over time a number of use cases made the code use the
attributes to control bnd processing and/or are actually set by bnd. This
enum provides access to these classes. Each enum value is a predicate that
can test a key.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeClasses
Returns the enum constant of this class with the specified name.static AttributeClasses[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANIFEST
Attributes that would show up in the manifest. -
INTERNAL
Attributes set and used by bnd code to maintain internal correlations. These attributes are never set by users. For example, "-internal-bundlesymbolicname:" These attributes must not end up in the manifest. -
BND_USE
Attributes set by the user but solely with the purpose to control bnd processing. For example "-split-package:". These attributes must not end up in the manifest.
-
-
Field Details
-
manifest
-
-
Constructor Details
-
AttributeClasses
private AttributeClasses()
-
-
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
-