Capability@ProviderType public interface BundleCapability extends Capability
bundle
revision.| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes() |
Returns the attributes of this capability.
|
java.util.Map<java.lang.String,java.lang.String> |
getDirectives() |
Returns the directives of this capability.
|
java.lang.String |
getNamespace() |
Returns the namespace of this capability.
|
BundleRevision |
getResource() |
Returns the resource declaring this capability.
|
BundleRevision |
getRevision() |
Returns the bundle revision declaring this capability.
|
equals, hashCodeBundleRevision getRevision()
java.lang.String getNamespace()
getNamespace in interface Capabilityjava.util.Map<java.lang.String,java.lang.String> getDirectives()
All capability directives not specified by the
wiring namespaces have no specified
semantics and are considered extra user defined information.
getDirectives in interface Capabilityjava.util.Map<java.lang.String,java.lang.Object> getAttributes()
getAttributes in interface CapabilityBundleRevision getResource()
This method returns the same value as getRevision().
getResource in interface Capability