public class OSGiCapabilityAdapter extends Object implements Capability
BUNDLE, EXECUTIONENVIRONMENT, FRAGMENT, PACKAGE, SERVICE
Constructor and Description |
---|
OSGiCapabilityAdapter(org.osgi.resource.Capability capability) |
Modifier and Type | Method and 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 © 2006–2023 The Apache Software Foundation. All rights reserved.