@ProviderType public interface BundleCapability extends Capability
bundle
revision.| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributes()
Returns the attributes of this capability.
|
Map<String,String> |
getDirectives()
Returns the directives of this capability.
|
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()
String getNamespace()
getNamespace in interface CapabilityMap<String,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 CapabilityMap<String,Object> getAttributes()
getAttributes in interface CapabilityBundleRevision getResource()
This method returns the same value as getRevision().
getResource in interface CapabilityCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.