Capabilitypublic class OSGiCapabilityAdapter extends Object implements Capability
BUNDLE, EXECUTIONENVIRONMENT, FRAGMENT, PACKAGE, SERVICE| Constructor | Description |
|---|---|
OSGiCapabilityAdapter(org.osgi.resource.Capability capability) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
|
Map<String,String> |
getDirectives() |
Return the directives of this capability.
|
String |
getName() |
Return the name of the capability.
|
Property[] |
getProperties() |
Return the properties of this capability
|
Map<String,Object> |
getPropertiesAsMap() |
Return the map of properties.
|
int |
hashCode() |
public OSGiCapabilityAdapter(org.osgi.resource.Capability capability)
public String getName()
CapabilitygetName in interface Capabilitypublic Property[] getProperties()
CapabilitygetProperties in interface Capabilitypublic Map<String,Object> getPropertiesAsMap()
CapabilitygetPropertiesAsMap in interface Capabilitypublic Map<String,String> getDirectives()
CapabilitygetDirectives in interface CapabilityCopyright © 2018. All rights reserved.