# Uses of Interface
org.eclipse.osgi.service.resolver.HostSpecification

Packages that use HostSpecification
Package
Description
org.eclipse.osgi.service.resolver
Provides the Equinox resolver API.

## Uses of HostSpecification in org.eclipse.osgi.service.resolver

Methods in org.eclipse.osgi.service.resolver that return HostSpecification
Modifier and Type
Method
Description
`HostSpecification`
StateObjectFactory.`createHostSpecification(String hostSymbolicName, VersionRange hostVersionRange)`
Creates a host specification from the given parameters.
`HostSpecification`
StateObjectFactory.`createHostSpecification(HostSpecification original)`
Creates a host specification that is a copy of the given constraint.
`HostSpecification`
StateObjectFactory.StateObjectFactoryProxy.`createHostSpecification(String hostSymbolicName, VersionRange hostVersionRange)`
`HostSpecification`
StateObjectFactory.StateObjectFactoryProxy.`createHostSpecification(HostSpecification original)`
`HostSpecification`
BundleDescription.`getHost()`
Returns the host for this bundle. null is returned if this bundle is not a fragment.
Methods in org.eclipse.osgi.service.resolver that return types with arguments of type HostSpecification
Modifier and Type
Method
Description
`List<HostSpecification>`
StateObjectFactory.`createHostSpecifications(String declaration)`
Creates host specifications from the given declaration.
`List<HostSpecification>`
StateObjectFactory.StateObjectFactoryProxy.`createHostSpecifications(String declaration)`
Methods in org.eclipse.osgi.service.resolver with parameters of type HostSpecification
Modifier and Type
Method
Description
`BundleDescription`
StateObjectFactory.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities)`
Creates a bundle description from the given parameters.
`BundleDescription`
StateObjectFactory.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities, NativeCodeSpecification nativeCode)`
Creates a bundle description from the given parameters.
`BundleDescription`
StateObjectFactory.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String[] providedPackages, boolean singleton)`
Deprecated.
use `StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[])`
`BundleDescription`
StateObjectFactory.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String[] providedPackages, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String executionEnvironment, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities)`
Deprecated.
use `StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[])`
`BundleDescription`
StateObjectFactory.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities, NativeCodeSpecification nativeCode)`
Creates a bundle description from the given parameters.
`BundleDescription`
StateObjectFactory.StateObjectFactoryProxy.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities)`
`BundleDescription`
StateObjectFactory.StateObjectFactoryProxy.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities, NativeCodeSpecification nativeCode)`
`BundleDescription`
StateObjectFactory.StateObjectFactoryProxy.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String[] providedPackages, boolean singleton)`
Deprecated.
`BundleDescription`
StateObjectFactory.StateObjectFactoryProxy.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String[] providedPackages, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String executionEnvironment, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities)`
Deprecated.
`BundleDescription`
StateObjectFactory.StateObjectFactoryProxy.`createBundleDescription(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities, NativeCodeSpecification nativeCode)`
`HostSpecification`
StateObjectFactory.`createHostSpecification(HostSpecification original)`
Creates a host specification that is a copy of the given constraint.
`HostSpecification`
StateObjectFactory.StateObjectFactoryProxy.`createHostSpecification(HostSpecification original)`
`boolean`
StateHelper.`isResolvable(HostSpecification specification)`
Returns whether the given host specification constraint is resolvable.