Class OSGiCapabilityAdapter
java.lang.Object
org.apache.felix.bundlerepository.impl.OSGiCapabilityAdapter
- All Implemented Interfaces:
Capability
-
Field Summary
Fields inherited from interface 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:CapabilityReturn the name of the capability.- Specified by:
getNamein interfaceCapability
-
getProperties
Description copied from interface:CapabilityReturn the properties of this capability- Specified by:
getPropertiesin interfaceCapability- Returns:
-
getPropertiesAsMap
Description copied from interface:CapabilityReturn the map of properties.- Specified by:
getPropertiesAsMapin interfaceCapability- Returns:
- a Mapinvalid input: '<'String,Object>
-
getDirectives
Description copied from interface:CapabilityReturn the directives of this capability. The returned map can not be modified.- Specified by:
getDirectivesin interfaceCapability- Returns:
- a Map of directives or an empty map there are no directives.
-
hashCode
-