Interface HostSpecification
- All Superinterfaces:
- Cloneable,- VersionConstraint
A representation of one host bundle constraint as seen in a bundle manifest
 and managed by a state and resolver.
 
 This interface is not intended to be implemented by clients. The
 StateObjectFactory should be used to construct instances.
 
- Since:
- 3.1
- Restriction:
- This interface is not intended to be implemented by clients.
- 
Method SummaryModifier and TypeMethodDescriptiongetHosts()Returns the list of host BundleDescriptions that satisfy this HostSpecificationbooleanReturns if this HostSpecification is allowed to have multiple hostsMethods inherited from interface org.eclipse.osgi.service.resolver.VersionConstraintgetBundle, getName, getRequirement, getSupplier, getUserObject, getVersionRange, isResolved, isSatisfiedBy, setUserObject
- 
Method Details- 
getHostsBundleDescription[] getHosts()Returns the list of host BundleDescriptions that satisfy this HostSpecification- Returns:
- the list of host BundleDescriptions that satisfy this HostSpecification
 
- 
isMultiHostboolean isMultiHost()Returns if this HostSpecification is allowed to have multiple hosts- Returns:
- true if this HostSpecification is allowed to have multiple hosts
 
 
-