Capability
public 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()
Capability
getName
in interface Capability
public Property[] getProperties()
Capability
getProperties
in interface Capability
public Map<String,Object> getPropertiesAsMap()
Capability
getPropertiesAsMap
in interface Capability
public Map<String,String> getDirectives()
Capability
getDirectives
in interface Capability
Copyright © 2018. All rights reserved.