Interface NativeCodeSpecification
- All Superinterfaces:
- Cloneable,- VersionConstraint
This class represents a native code specification. A native code
 specification is different from other specification constraints which
 typically are resolved against suppliers provided by other bundles. A native
 code specification supplies it own suppliers which are matched against the
 platform properties at resolve time and the supplier with the best match is
 selected.
 
 This interface is not intended to be implemented by clients. The
 StateObjectFactory should be used to construct instances.
 
- Since:
- 3.4
- Restriction:
- This interface is not intended to be implemented by clients.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the list of possible suppliers to this native code specification.booleanReturns whether or not this native code specification is optional.Methods inherited from interface org.eclipse.osgi.service.resolver.VersionConstraintgetBundle, getName, getRequirement, getSupplier, getUserObject, getVersionRange, isResolved, isSatisfiedBy, setUserObject
- 
Method Details- 
getPossibleSuppliersNativeCodeDescription[] getPossibleSuppliers()Returns the list of possible suppliers to this native code specification. When this native code specification is resolved one of the possible suppliers will be selected and returned byVersionConstraint.getSupplier().- Returns:
- the list of possible suppliers.
 
- 
isOptionalboolean isOptional()Returns whether or not this native code specification is optional.- Returns:
- whether this specification is optional
 
 
-