public class OSGiCapabilityAdapter extends java.lang.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(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.String> |
getDirectives()
Return the directives of this capability.
|
java.lang.String |
getName()
Return the name of the capability.
|
Property[] |
getProperties()
Return the properties of this capability
|
java.util.Map<java.lang.String,java.lang.Object> |
getPropertiesAsMap()
Return the map of properties.
|
int |
hashCode() |
public OSGiCapabilityAdapter(org.osgi.resource.Capability capability)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getName()
CapabilitygetName in interface Capabilitypublic Property[] getProperties()
CapabilitygetProperties in interface Capabilitypublic java.util.Map<java.lang.String,java.lang.Object> getPropertiesAsMap()
CapabilitygetPropertiesAsMap in interface Capabilitypublic java.util.Map<java.lang.String,java.lang.String> getDirectives()
CapabilitygetDirectives in interface Capabilitypublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2006-2017 The Apache Software Foundation. All Rights Reserved.