Interface GenericSpecification
- All Superinterfaces:
- Cloneable,- VersionConstraint
A specification which depends on a generic capability
- Since:
- 3.2
- Restriction:
- This interface is not intended to be implemented by clients.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe multiple resolution typestatic final intThe optional resolution type
- 
Method SummaryModifier and TypeMethodDescriptionReturns a matching filter used to match with a suppliers attributesintReturns the resolution type of the required capability.Returns the suppliers of the capability.getType()Returns the type of generic specificationMethods inherited from interface org.eclipse.osgi.service.resolver.VersionConstraintgetBundle, getName, getRequirement, getSupplier, getUserObject, getVersionRange, isResolved, isSatisfiedBy, setUserObject
- 
Field Details- 
RESOLUTION_OPTIONALstatic final int RESOLUTION_OPTIONALThe optional resolution type- See Also:
 
- 
RESOLUTION_MULTIPLEstatic final int RESOLUTION_MULTIPLEThe multiple resolution type- See Also:
 
 
- 
- 
Method Details- 
getMatchingFilterString getMatchingFilter()Returns a matching filter used to match with a suppliers attributes- Returns:
- a matching filter used to match with a suppliers attributes
 
- 
getTypeString getType()Returns the type of generic specification- Returns:
- the type of generic specification
 
- 
getResolutionint getResolution()Returns the resolution type of the required capability. The returned value is a bit mask that may have the optional bitRESOLUTION_OPTIONALand/or the multiple bitRESOLUTION_MULTIPLEset.- Returns:
- the resolution type of the required capability
 
- 
getSuppliersGenericDescription[] getSuppliers()Returns the suppliers of the capability. If the the resolution is multiple then more than one supplier may be returned- Returns:
- the suppliers of the capability
 
 
-