bundle
revision.
| Modifier and Type | Method and Description |
|---|---|
| public Map | Returns: An unmodifiable map of attribute names to attribute values for this requirement, or an empty map if this requirement has no attributes.Redeclares org. Returns the attributes of this requirement. |
| public Map | Returns: An unmodifiable map of directive names to directive values for this requirement, or an empty map if this requirement has no directives.Redeclares org. Returns the directives of this requirement. |
| public String | Returns: The namespace of this requirement.Redeclares org. Returns the namespace of this requirement. |
| public BundleRevision | Returns: The resource declaring this requirement. This can benull
if this requirement is synthesized.Redeclares org. Returns the resource declaring this requirement. |
| public BundleRevision | Returns: The bundle revision declaring this requirement.Returns the bundle revision declaring this requirement. |
| public boolean | Returns: true if the specified capability has the same
namespace as this requirement and the
filter for this requirement matches the
attributes of the
specified capability; false otherwise.The capability to match to this requirement. capability)Returns whether the specified capability matches this requirement. |
| getAttributes | back to summary |
|---|---|
| public Map Redeclares org. Returns the attributes of this requirement. Requirement attributes have no specified semantics and are considered extra user defined information. | |
| getDirectives | back to summary |
|---|---|
| public Map Redeclares org. Returns the directives of this requirement.
All requirement directives not specified by the
| |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() Redeclares org. Returns the namespace of this requirement.
| |
| getResource | back to summary |
|---|---|
| public BundleRevision getResource() Redeclares org. Returns the resource declaring this requirement.
This method returns the same value as
| |
| getRevision | back to summary |
|---|---|
| public BundleRevision getRevision() Returns the bundle revision declaring this requirement.
| |
| matches | back to summary |
|---|---|
| public boolean matches(BundleCapability capability) Returns whether the specified capability matches this requirement.
| |