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.Object
public java.lang.String getName()
Capability
getName
in interface Capability
public Property[] getProperties()
Capability
getProperties
in interface Capability
public java.util.Map<java.lang.String,java.lang.Object> getPropertiesAsMap()
Capability
getPropertiesAsMap
in interface Capability
public java.util.Map<java.lang.String,java.lang.String> getDirectives()
Capability
getDirectives
in interface Capability
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2006-2017 The Apache Software Foundation. All Rights Reserved.