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

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

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

Methods in org.eclipse.osgi.service.resolver that return GenericDescription
Modifier and Type
Method
Description
`GenericDescription`
StateObjectFactory.`createGenericDescription(String name, String type, Version version, Map<String,?> attributes)`
Deprecated.
use `StateObjectFactory.createGenericDescription(String, String, Version, Map)`
`GenericDescription`
StateObjectFactory.`createGenericDescription(String type, Map<String,?> attributes, Map<String,String> directives, BundleDescription supplier)`
Creates a generic description from the given parameters
`GenericDescription`
StateObjectFactory.StateObjectFactoryProxy.`createGenericDescription(String name, String type, Version version, Map<String,?> attributes)`
Deprecated.
`GenericDescription`
StateObjectFactory.StateObjectFactoryProxy.`createGenericDescription(String type, Map<String,?> attributes, Map<String,String> directives, BundleDescription supplier)`
`GenericDescription[]`
BundleDescription.`getGenericCapabilities()`
Returns an array of generic descriptions for the capabilities of this bundle.
`GenericDescription[]`
BundleDescription.`getResolvedGenericRequires()`
Returns all the capabilities that satisfy all the capability requirements for this bundle.
`GenericDescription[]`
BundleDescription.`getSelectedGenericCapabilities()`
Returns all the capabilities provided by ths bundle that have been selected by the resolver.
`GenericDescription[]`
GenericSpecification.`getSuppliers()`
Returns the suppliers of the capability.
Methods in org.eclipse.osgi.service.resolver that return types with arguments of type GenericDescription
Modifier and Type
Method
Description
`List<GenericDescription>`
StateObjectFactory.`createGenericDescriptions(String declaration)`
Creates generic descriptions from the given declaration.
`List<GenericDescription>`
StateObjectFactory.StateObjectFactoryProxy.`createGenericDescriptions(String declaration)`
Methods in org.eclipse.osgi.service.resolver with parameters of type GenericDescription
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, 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, 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)`
`void`
State.`resolveBundle(BundleDescription bundle, boolean status, BundleDescription[] hosts, ExportPackageDescription[] selectedExports, ExportPackageDescription[] substitutedExports, GenericDescription[] selectedCapabilities, BundleDescription[] resolvedRequires, ExportPackageDescription[] resolvedImports, GenericDescription[] resolvedCapabilities, Map<String,List<StateWire>> resolvedWires)`
Sets whether or not the given bundle is selected in this state.