Interface IProvidedCapability


public interface IProvidedCapability
Describes a capability that is exposed by an installable unit. These capabilities can satisfy the dependencies of other installable units, causing the unit providing the dependency to be installed.

Instances of this class are handle objects and do not necessarily reflect entities that exist in any particular profile or repository. These handle objects can be created using MetadataFactory.

Since:
2.0
See Also:
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Field Details

  • Method Details

    • getNamespace

      String getNamespace()
      Returns:
      String the namespace of this capability.
      Since:
      2.9
    • getName

      String getName()
      Returns:
      String the attribute stored under a key equal to the getNamespace() attribute of this capability.
      Since:
      2.9
    • getVersion

      Version getVersion()
      Returns:
      String the special PROPERTY_VERSION attribute of this capability.
      Since:
      2.9
    • getProperties

      Map<String,Object> getProperties()
      A full description of this capability including the name and the version.

      Such a description can be used to match this capability with an LDAP filter for example.

      Returns:
      An unmodifiable map
      Since:
      2.9
    • equals

      boolean equals(Object other)
      Returns whether this provided capability is equal to the given object. This method returns true if:
      • Both this object and the given object are of type IProvidedCapability
      • The result of getNamespace() on both objects are equal
      • The result of getProperties() on both objects are equal
      Overrides:
      equals in class Object