public final class IdentityNamespace extends Namespace
This class defines the names for the attributes and directives for this
namespace. All unspecified capability attributes are of type String
and are used as arbitrary matching attributes for the capability. The values
associated with the specified directive and attribute keys are of type
String
, unless otherwise indicated.
Each resource provides exactly one† identity capability that can be used to identify the resource.
The bundle wiring for the bundle revision provides exactly one† identity capability.
† A resource with no symbolic name must not provide an identity capability.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAPABILITY_COPYRIGHT_ATTRIBUTE
The capability attribute that contains a human readable copyright notice
for the resource.
|
static java.lang.String |
CAPABILITY_DESCRIPTION_ATTRIBUTE
The capability attribute that contains a human readable description for
the resource.
|
static java.lang.String |
CAPABILITY_DOCUMENTATION_ATTRIBUTE
The capability attribute that contains the URL to documentation for the
resource.
|
static java.lang.String |
CAPABILITY_LICENSE_ATTRIBUTE
The capability attribute that contains the URL to the license for the
resource.
|
static java.lang.String |
CAPABILITY_SINGLETON_DIRECTIVE
The capability directive identifying if the resource is a singleton.
|
static java.lang.String |
CAPABILITY_TAGS_ATTRIBUTE
The attribute value that contains tags for the resource.
|
static java.lang.String |
CAPABILITY_TYPE_ATTRIBUTE
The capability attribute identifying the resource type.
|
static java.lang.String |
CAPABILITY_VERSION_ATTRIBUTE
The capability attribute identifying the
Version of the resource
if one is specified or 0.0.0 if not specified. |
static java.lang.String |
CLASSIFIER_JAVADOC
The attribute value identifying the resource
classifier as an archive
containing the javadoc in the same directory layout as the resource. |
static java.lang.String |
CLASSIFIER_SOURCES
The attribute value identifying the resource
classifier as an archive
containing the source code in the same directory layout as the resource. |
static java.lang.String |
IDENTITY_NAMESPACE
Namespace name for identity capabilities and requirements.
|
static java.lang.String |
REQUIREMENT_CLASSIFIER_DIRECTIVE
The requirement directive that classifies the relationship with another
resource.
|
static java.lang.String |
TYPE_BUNDLE
The attribute value identifying the resource
type as an OSGi bundle. |
static java.lang.String |
TYPE_FRAGMENT
The attribute value identifying the resource
type as an OSGi fragment. |
static java.lang.String |
TYPE_UNKNOWN
The attribute value identifying the resource
type as unknown. |
CAPABILITY_EFFECTIVE_DIRECTIVE, CAPABILITY_USES_DIRECTIVE, CARDINALITY_MULTIPLE, CARDINALITY_SINGLE, EFFECTIVE_ACTIVE, EFFECTIVE_RESOLVE, REQUIREMENT_CARDINALITY_DIRECTIVE, REQUIREMENT_EFFECTIVE_DIRECTIVE, REQUIREMENT_FILTER_DIRECTIVE, REQUIREMENT_RESOLUTION_DIRECTIVE, RESOLUTION_MANDATORY, RESOLUTION_OPTIONAL
public static final java.lang.String IDENTITY_NAMESPACE
Also, the capability attribute used to specify the symbolic name of the resource.
public static final java.lang.String CAPABILITY_SINGLETON_DIRECTIVE
String
value of "true" indicates the resource is a
singleton; any other value or null
indicates the resource is not
a singleton.public static final java.lang.String CAPABILITY_VERSION_ATTRIBUTE
Version
of the resource
if one is specified or 0.0.0
if not specified. The value of this
attribute must be of type Version
.public static final java.lang.String CAPABILITY_TYPE_ATTRIBUTE
unknown
must be used for
the attribute.TYPE_BUNDLE
,
TYPE_FRAGMENT
,
TYPE_UNKNOWN
,
Constant Field Valuespublic static final java.lang.String TYPE_BUNDLE
type
as an OSGi bundle.CAPABILITY_TYPE_ATTRIBUTE
,
Constant Field Valuespublic static final java.lang.String TYPE_FRAGMENT
type
as an OSGi fragment.CAPABILITY_TYPE_ATTRIBUTE
,
Constant Field Valuespublic static final java.lang.String TYPE_UNKNOWN
type
as unknown.CAPABILITY_TYPE_ATTRIBUTE
,
Constant Field Valuespublic static final java.lang.String CAPABILITY_TAGS_ATTRIBUTE
List<String>
.public static final java.lang.String CAPABILITY_COPYRIGHT_ATTRIBUTE
Bundle-Copyright
manifest header.public static final java.lang.String CAPABILITY_DESCRIPTION_ATTRIBUTE
Bundle-Description
manifest header.public static final java.lang.String CAPABILITY_DOCUMENTATION_ATTRIBUTE
Bundle-DocURL
manifest header.public static final java.lang.String CAPABILITY_LICENSE_ATTRIBUTE
name
portion of the Bundle-License
manifest header.public static final java.lang.String REQUIREMENT_CLASSIFIER_DIRECTIVE
public static final java.lang.String CLASSIFIER_SOURCES
classifier
as an archive
containing the source code in the same directory layout as the resource.public static final java.lang.String CLASSIFIER_JAVADOC
classifier
as an archive
containing the javadoc in the same directory layout as the resource.Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0