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

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

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

Methods in org.eclipse.osgi.service.resolver that return ImportPackageSpecification
Modifier and Type
Method
Description
`ImportPackageSpecification`
StateObjectFactory.`createImportPackageSpecification(String packageName, VersionRange versionRange, String bundleSymbolicName, VersionRange bundleVersionRange, Map<String,?> directives, Map<String,?> attributes, BundleDescription importer)`
Creates an import package specification from the given parameters.
`ImportPackageSpecification`
StateObjectFactory.`createImportPackageSpecification(ImportPackageSpecification original)`
Creates an import package specification that is a copy of the given import package
`ImportPackageSpecification`
StateObjectFactory.StateObjectFactoryProxy.`createImportPackageSpecification(String packageName, VersionRange versionRange, String bundleSymbolicName, VersionRange bundleVersionRange, Map<String,?> directives, Map<String,?> attributes, BundleDescription importer)`
`ImportPackageSpecification`
StateObjectFactory.StateObjectFactoryProxy.`createImportPackageSpecification(ImportPackageSpecification original)`
`ImportPackageSpecification[]`
BundleDescription.`getAddedDynamicImportPackages()`
Returns an array of dynamic import package specifications that have been added dynamically to this bundle description.
`ImportPackageSpecification[]`
BundleDescription.`getImportPackages()`
Returns an array of import package specifications defined by the Import-Package clause.
Methods in org.eclipse.osgi.service.resolver that return types with arguments of type ImportPackageSpecification
Modifier and Type
Method
Description
`List<ImportPackageSpecification>`
StateObjectFactory.`createImportPackageSpecifications(String declaration)`
Creates an import package specifications from the given declaration.
`List<ImportPackageSpecification>`
StateObjectFactory.StateObjectFactoryProxy.`createImportPackageSpecifications(String declaration)`
Methods in org.eclipse.osgi.service.resolver with parameters of type ImportPackageSpecification
Modifier and Type
Method
Description
`void`
State.`addDynamicImportPackages(BundleDescription importingBundle, ImportPackageSpecification[] dynamicImports)`
Adds the specified dynamic imports to the specified importingBundle.
`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)`
`ImportPackageSpecification`
StateObjectFactory.`createImportPackageSpecification(ImportPackageSpecification original)`
Creates an import package specification that is a copy of the given import package
`ImportPackageSpecification`
StateObjectFactory.StateObjectFactoryProxy.`createImportPackageSpecification(ImportPackageSpecification original)`
`boolean`
StateHelper.`isResolvable(ImportPackageSpecification specification)`
Returns whether the given package specification constraint is resolvable.