Class OSGiCapabilityAdapter
java.lang.Object
org.apache.felix.bundlerepository.impl.OSGiCapabilityAdapter
- All Implemented Interfaces:
Capability
-
Field Summary
Fields inherited from interface org.apache.felix.bundlerepository.Capability
BUNDLE, EXECUTIONENVIRONMENT, FRAGMENT, PACKAGE, SERVICE
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OSGiCapabilityAdapter
public OSGiCapabilityAdapter(org.osgi.resource.Capability capability)
-
-
Method Details
-
equals
-
getName
Description copied from interface:Capability
Return the name of the capability.- Specified by:
getName
in interfaceCapability
-
getProperties
Description copied from interface:Capability
Return the properties of this capability- Specified by:
getProperties
in interfaceCapability
- Returns:
-
getPropertiesAsMap
Description copied from interface:Capability
Return the map of properties.- Specified by:
getPropertiesAsMap
in interfaceCapability
- Returns:
- a Map<String,Object>
-
getDirectives
Description copied from interface:Capability
Return the directives of this capability. The returned map can not be modified.- Specified by:
getDirectives
in interfaceCapability
- Returns:
- a Map of directives or an empty map there are no directives.
-
hashCode
public int hashCode()
-