Package org.eclipse.equinox.p2.metadata
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 SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe name of the property under which the capability version is stored.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns whether this provided capability is equal to the given object.getName()A full description of this capability including the name and the version.
- 
Field Details- 
PROPERTY_VERSIONThe name of the property under which the capability version is stored. Can be used withgetProperties(). The same value can be obtained withgetVersion()- Since:
- 2.4
- See Also:
 
 
- 
- 
Method Details- 
getNamespaceString getNamespace()- Returns:
- String the namespace of this capability.
- Since:
- 2.9
 
- 
getNameString getName()- Returns:
- String the attribute stored under a key equal to the
         getNamespace()attribute of this capability.
- Since:
- 2.9
 
- 
getVersionVersion getVersion()- Returns:
- String the special PROPERTY_VERSIONattribute of this capability.
- Since:
- 2.9
 
- 
getPropertiesA full description of this capability including the name and the version.Such a description can be used to match this capability with an LDAP filterfor example.- Returns:
- An unmodifiable map
- Since:
- 2.9
 
- 
equalsReturns 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
 
 
-