Interface Capability

  • All Known Implementing Classes:
    CapabilityImpl, OSGiCapabilityAdapter

    public interface Capability
    A named set of properties representing some capability that is provided by its owner.
    Version:
    $Revision: 1.3 $
    • Method Detail

      • getName

        java.lang.String getName()
        Return the name of the capability.
      • getProperties

        Property[] getProperties()
        Return the properties of this capability
        Returns:
      • getPropertiesAsMap

        java.util.Map<java.lang.String,​java.lang.Object> getPropertiesAsMap()
        Return the map of properties.
        Returns:
        a Map
      • getDirectives

        java.util.Map<java.lang.String,​java.lang.String> getDirectives()
        Return the directives of this capability. The returned map can not be modified.
        Returns:
        a Map of directives or an empty map there are no directives.