Class OSGiCapabilityAdapter

java.lang.Object
org.apache.felix.bundlerepository.impl.OSGiCapabilityAdapter
All Implemented Interfaces:
Capability

public class OSGiCapabilityAdapter extends Object implements Capability
  • Constructor Details

    • OSGiCapabilityAdapter

      public OSGiCapabilityAdapter(org.osgi.resource.Capability capability)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getName

      public String getName()
      Description copied from interface: Capability
      Return the name of the capability.
      Specified by:
      getName in interface Capability
    • getProperties

      public Property[] getProperties()
      Description copied from interface: Capability
      Return the properties of this capability
      Specified by:
      getProperties in interface Capability
      Returns:
    • getPropertiesAsMap

      public Map<String,Object> getPropertiesAsMap()
      Description copied from interface: Capability
      Return the map of properties.
      Specified by:
      getPropertiesAsMap in interface Capability
      Returns:
      a Mapinvalid input: '<'String,Object>
    • getDirectives

      public Map<String,String> getDirectives()
      Description copied from interface: Capability
      Return the directives of this capability. The returned map can not be modified.
      Specified by:
      getDirectives in interface Capability
      Returns:
      a Map of directives or an empty map there are no directives.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object