Class AbstractCapabilityRequirement

java.lang.Object
org.apache.felix.utils.resource.AbstractCapabilityRequirement
Direct Known Subclasses:
CapabilityImpl, RequirementImpl

abstract class AbstractCapabilityRequirement extends Object
  • Field Details

    • resource

      protected final org.osgi.resource.Resource resource
      The resource. Required.
    • namespace

      protected final String namespace
      The namespace. Required.
    • directives

      protected final Map<String,String> directives
      Optional attributes. Never null.
    • attributes

      protected final Map<String,Object> attributes
      Optional attributes. Never null.
  • Constructor Details

  • Method Details

    • getNamespace

      public String getNamespace()
      Return the namespace.
      Returns:
      The namespace. This is never @{code null}.
    • getAttributes

      public Map<String,Object> getAttributes()
      Return the attributes.
      Returns:
      The attributes, might be empty.
    • getDirectives

      public Map<String,String> getDirectives()
      Return the directives.
      Returns:
      The directives, might be empty.
    • getResource

      public org.osgi.resource.Resource getResource()
      Return the resource.
      Returns:
      The resource or @{code null}.
    • toString

      public String toString()
      Overrides:
      toString in class Object