Uses of Interface
org.eclipse.equinox.p2.metadata.IInstallableUnit
Packages that use IInstallableUnit
Package
Description
Provides support for interacting with the p2 provisioning engine
Provides queries specific to profiles
Defines the metadata being handled by p2.
Describes high level provisioning operations that can be resolved and performed
either modally or in the background.
Provides core support for interacting with a dependency resolution mechanism.
Provides common classes for the query mechanism.
Defines metadata repository.
Defines SPI for registering new implementations of metadata repositories.
Provides query utilities specific to provisioning of OSGi bundles
Provides provisioning user interface classes that can be used for assembling
a provisioning UI.
-
Uses of IInstallableUnit in org.eclipse.equinox.p2.engine
Methods in org.eclipse.equinox.p2.engine that return types with arguments of type IInstallableUnitModifier and TypeMethodDescriptionIProfile.available
(IQuery<IInstallableUnit> query, IProgressMonitor monitor) Returns the installable units in this profile that match the given query.IProvisioningPlan.getAdditions()
Returns the proposed set of installable units to be added to the profile.ProvisioningContext.getExtraInstallableUnits()
Returns the list of additional installable units that should be considered as available for installation by the planner.IProvisioningPlan.getFutureState()
Returns the set of IUs that will constitute the profile if the plan is executed successfully.ProvisioningContext.getInstallableUnitSources
(Collection<? extends IInstallableUnit> ius, IProgressMonitor monitor) Returns a map from simple metadata repository location to a subset of the given installable units available in that repository.ProvisioningContext.getMetadata
(IProgressMonitor monitor) Returns a queryable that can be used to obtain any metadata (installable units) that are needed for the provisioning operation.IProvisioningPlan.getRemovals()
Returns the proposed set of installable units to be removed from this profile.Methods in org.eclipse.equinox.p2.engine with parameters of type IInstallableUnitModifier and TypeMethodDescriptionvoid
IProvisioningPlan.addInstallableUnit
(IInstallableUnit iu) Adds an installable unit to the plan.IProfile.getInstallableUnitProperties
(IInstallableUnit iu) Returns an unmodifiable map of all profile properties associated with the given installable unit in this profile.IProfile.getInstallableUnitProperty
(IInstallableUnit iu, String key) Returns the profile property associated with the given installable unit.void
IProvisioningPlan.removeInstallableUnit
(IInstallableUnit iu) Removes an installable unit from the plan.void
IProvisioningPlan.setInstallableUnitProfileProperty
(IInstallableUnit iu, String name, String value) Adds a profile property corresponding to the given installable unit to the plan.void
IProvisioningPlan.updateInstallableUnit
(IInstallableUnit from, IInstallableUnit to) Adds an instruction to replace one installable unit in the profile with another.Method parameters in org.eclipse.equinox.p2.engine with type arguments of type IInstallableUnitModifier and TypeMethodDescriptionIProfile.available
(IQuery<IInstallableUnit> query, IProgressMonitor monitor) Returns the installable units in this profile that match the given query.ProvisioningContext.getInstallableUnitSources
(Collection<? extends IInstallableUnit> ius, IProgressMonitor monitor) Returns a map from simple metadata repository location to a subset of the given installable units available in that repository.void
ProvisioningContext.setExtraInstallableUnits
(List<IInstallableUnit> extraIUs) Sets the list of additional installable units that should be considered as available for installation by the planner.void
IProvisioningPlan.setFuturePlan
(IQueryable<IInstallableUnit> futureState) Sets the value that is returned by the method getFutureState. -
Uses of IInstallableUnit in org.eclipse.equinox.p2.engine.query
Methods in org.eclipse.equinox.p2.engine.query with parameters of type IInstallableUnitModifier and TypeMethodDescriptionstatic boolean
UserVisibleRootQuery.isUserVisible
(IInstallableUnit iu, IProfile profile) Test if theIInstallableUnit
, in the context of aIProfile
is visible to the user -
Uses of IInstallableUnit in org.eclipse.equinox.p2.metadata
Subinterfaces of IInstallableUnit in org.eclipse.equinox.p2.metadataModifier and TypeInterfaceDescriptioninterface
Represents a fragment that contributes additional requirements, capabilities, and other properties to some host installable unit.interface
An installable unit patch is an installable unit that alters the required capabilities of another installable unit.Methods in org.eclipse.equinox.p2.metadata that return IInstallableUnitModifier and TypeMethodDescriptionstatic IInstallableUnit
MetadataFactory.createInstallableUnit
(MetadataFactory.InstallableUnitDescription description) Returns anIInstallableUnit
based on the given description.static IInstallableUnit
MetadataFactory.createResolvedInstallableUnit
(IInstallableUnit unit, IInstallableUnitFragment[] fragments) Returns anIInstallableUnit
that represents the given unit bound to the given fragments.IInstallableUnit.unresolved()
Returns the unresolved equivalent of this installable unit.Methods in org.eclipse.equinox.p2.metadata that return types with arguments of type IInstallableUnitModifier and TypeMethodDescriptionIInstallableUnit.getFilter()
Returns the filter on this installable unit.IRequirement.getFilter()
Returns the filter on this requirement.IUpdateDescriptor.getIUsBeingUpdated()
Returns an expression matching all installable units that will be updated by the unit with this update descriptor.IRequirement.getMatches()
Returns a boolean match expression that will return true for anyIInstallableUnit
that matches the requirement.Methods in org.eclipse.equinox.p2.metadata with parameters of type IInstallableUnitModifier and TypeMethodDescriptionstatic IInstallableUnit
MetadataFactory.createResolvedInstallableUnit
(IInstallableUnit unit, IInstallableUnitFragment[] fragments) Returns anIInstallableUnit
that represents the given unit bound to the given fragments.boolean
IRequirement.isMatch
(IInstallableUnit iu) Returns whether the provided capabilities of the given installable unit satisfy this requirement.boolean
IUpdateDescriptor.isUpdateOf
(IInstallableUnit iu) Helper method indicating whether or not an installable unit is an update for the installable unit passedMethod parameters in org.eclipse.equinox.p2.metadata with type arguments of type IInstallableUnitModifier and TypeMethodDescriptionstatic IRequirement
MetadataFactory.createRequirement
(String namespace, String propsFilter, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy) static IRequirement
MetadataFactory.createRequirement
(String namespace, String propsFilter, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy, String description) static IRequirement
MetadataFactory.createRequirement
(String namespace, String name, VersionRange range, IMatchExpression<IInstallableUnit> filter, boolean optional, boolean multiple) Returns aIRequirement
with the given values.static IRequirement
MetadataFactory.createRequirement
(String namespace, String name, VersionRange range, IMatchExpression<IInstallableUnit> filter, int minCard, int maxCard, boolean greedy) Create and return a new requirement (IRequirement
) with the specified values.static IRequirement
MetadataFactory.createRequirement
(String namespace, String name, VersionRange range, IMatchExpression<IInstallableUnit> filter, int minCard, int maxCard, boolean greedy, String description) Create and return a new requirement (IRequirement
) with the specified values.static IRequirement
MetadataFactory.createRequirement
(String namespace, IFilterExpression propsFilter, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy, String description) static IRequirement
MetadataFactory.createRequirement
(IMatchExpression<IInstallableUnit> requirement, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy) Create and return a new requirement (IRequirement
) with the specified values.static IRequirement
MetadataFactory.createRequirement
(IMatchExpression<IInstallableUnit> requirement, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy, String description) Create and return a new requirement (IRequirement
) with the specified values.static IUpdateDescriptor
MetadataFactory.createUpdateDescriptor
(Collection<IMatchExpression<IInstallableUnit>> descriptors, int severity, String description, URI location) void
MetadataFactory.InstallableUnitDescription.setFilter
(IMatchExpression<IInstallableUnit> filter) -
Uses of IInstallableUnit in org.eclipse.equinox.p2.metadata.io
Methods in org.eclipse.equinox.p2.metadata.io that return types with arguments of type IInstallableUnitModifier and TypeMethodDescriptionIUDeserializer.read
(InputStream input) Deserialize a set ofIInstallableUnit
from the input stream.Method parameters in org.eclipse.equinox.p2.metadata.io with type arguments of type IInstallableUnitModifier and TypeMethodDescriptionvoid
IUSerializer.write
(Collection<IInstallableUnit> ius) Serialize the given collections of IU. -
Uses of IInstallableUnit in org.eclipse.equinox.p2.operations
Fields in org.eclipse.equinox.p2.operations declared as IInstallableUnitFields in org.eclipse.equinox.p2.operations with type parameters of type IInstallableUnitModifier and TypeFieldDescriptionprotected Collection<IInstallableUnit>
InstallOperation.toInstall
Methods in org.eclipse.equinox.p2.operations that return IInstallableUnitMethods in org.eclipse.equinox.p2.operations that return types with arguments of type IInstallableUnitModifier and TypeMethodDescriptionOperationFactory.listInstalledElements
(boolean rootsOnly, IProgressMonitor monitor) Returns theIInstallableUnit
s that are installed in the running instance of Eclipse.Methods in org.eclipse.equinox.p2.operations with parameters of type IInstallableUnitModifier and TypeMethodDescriptionProfileChangeOperation.getResolutionDetails
(IInstallableUnit iu) Return a string that describes the specific resolution results related to the suppliedIInstallableUnit
.Constructors in org.eclipse.equinox.p2.operations with parameters of type IInstallableUnitModifierConstructorDescriptionUpdate
(IInstallableUnit toUpdate, IInstallableUnit replacement) Creates a new update description.Constructor parameters in org.eclipse.equinox.p2.operations with type arguments of type IInstallableUnitModifierConstructorDescriptionInstallOperation
(ProvisioningSession session, Collection<IInstallableUnit> toInstall) Create an install operation on the specified provisioning session that installs the supplied IInstallableUnits.SynchronizeOperation
(ProvisioningSession session, Collection<IInstallableUnit> toInstall) UninstallOperation
(ProvisioningSession session, Collection<IInstallableUnit> toUninstall) Create an uninstall operation on the specified provisioning session that uninstalls the specified IInstallableUnits.UpdateOperation
(ProvisioningSession session, Collection<IInstallableUnit> toBeUpdated) Create an update operation on the specified provisioning session that updates the specified IInstallableUnits. -
Uses of IInstallableUnit in org.eclipse.equinox.p2.planner
Methods in org.eclipse.equinox.p2.planner that return types with arguments of type IInstallableUnitModifier and TypeMethodDescriptionIProfileChangeRequest.getAdditions()
Provide the set of installable units that have been requested for additionIProfileChangeRequest.getRemovals()
Provide the set of installable units that have been requested for removalIPlanner.updatesFor
(IInstallableUnit iu, ProvisioningContext context, IProgressMonitor monitor) Methods in org.eclipse.equinox.p2.planner with parameters of type IInstallableUnitModifier and TypeMethodDescriptionvoid
IProfileChangeRequest.add
(IInstallableUnit toInstall) Causes the installation of the mentioned IU.static String
ProfileInclusionRules.createOptionalInclusionRule
(IInstallableUnit iu) Returns an inclusion rule to optionally install the given installable unit.static String
ProfileInclusionRules.createStrictInclusionRule
(IInstallableUnit iu) Returns an inclusion rule to strictly install the given installable unit.void
IProfileChangeRequest.remove
(IInstallableUnit toUninstall) Requests the removal of the specified installable unitvoid
IProfileChangeRequest.removeInstallableUnitInclusionRules
(IInstallableUnit iu) Removes all inclusion rules associated with the given installable unitvoid
IProfileChangeRequest.removeInstallableUnitProfileProperty
(IInstallableUnit iu, String key) Remove a property with a given installable unit.void
IProfileChangeRequest.setInstallableUnitInclusionRules
(IInstallableUnit iu, String inclusionRule) Associate an inclusion rule with the installable unit.void
IProfileChangeRequest.setInstallableUnitProfileProperty
(IInstallableUnit iu, String key, String value) Associate a property with a given installable unit.IPlanner.updatesFor
(IInstallableUnit iu, ProvisioningContext context, IProgressMonitor monitor) Method parameters in org.eclipse.equinox.p2.planner with type arguments of type IInstallableUnitModifier and TypeMethodDescriptionvoid
IProfileChangeRequest.addAll
(Collection<IInstallableUnit> toInstall) Causes the installation of all the IUs mentionedvoid
IProfileChangeRequest.removeAll
(Collection<IInstallableUnit> toUninstall) Requests the removal of all installable units in the provided collection -
Uses of IInstallableUnit in org.eclipse.equinox.p2.query
Fields in org.eclipse.equinox.p2.query with type parameters of type IInstallableUnitModifier and TypeFieldDescriptionstatic final IQuery<IInstallableUnit>
QueryUtil.ALL_UNITS
static final IQuery<IInstallableUnit>
QueryUtil.NO_UNITS
Methods in org.eclipse.equinox.p2.query that return types with arguments of type IInstallableUnitModifier and TypeMethodDescriptionstatic IQuery<IInstallableUnit>
QueryUtil.createIUAnyQuery()
Returns a query that matches allInstallableUnit
elementsstatic IQuery<IInstallableUnit>
QueryUtil.createIUCategoryMemberQuery
(IInstallableUnit category) Creates a new query that will return the members of the givencategory
.static IQuery<IInstallableUnit>
QueryUtil.createIUCategoryQuery()
Creates a query matching everyIInstallableUnit
that is a category.static IQuery<IInstallableUnit>
QueryUtil.createIUGroupQuery()
Creates a query matching everyIInstallableUnit
that is a group.static IQuery<IInstallableUnit>
QueryUtil.createIUPatchQuery()
Creates anIInstallableUnit
that will match all patches.static IQuery<IInstallableUnit>
QueryUtil.createIUProductQuery()
Creates anIInstallableUnit
that will match all products.static IQuery<IInstallableUnit>
QueryUtil.createIUPropertyQuery
(String propertyName, String propertyValue) Creates a query that searches forIInstallableUnit
instances that have a property whose value matches the provided value.static IQuery<IInstallableUnit>
QueryUtil.createIUQuery
(String id) Creates a query that will match anyIInstallableUnit
with the given id, regardless of version.static IQuery<IInstallableUnit>
QueryUtil.createIUQuery
(String id, Version version) Creates a query that will match anyIInstallableUnit
with the given id and version.static IQuery<IInstallableUnit>
QueryUtil.createIUQuery
(String id, VersionRange range) Creates a query that will match anyIInstallableUnit
with the given id, and whose version falls in the provided range.static IQuery<IInstallableUnit>
QueryUtil.createIUQuery
(IVersionedId versionedId) Creates a query that will match anyIInstallableUnit
with the given id and version.static IQuery<IInstallableUnit>
QueryUtil.createLatestIUQuery()
Creates a query that returns the latest version for each unique id of anIVersionedId
.static IQuery<IInstallableUnit>
QueryUtil.createMatchQuery
(String matchExpression, Object... parameters) Parses thematchExpression
and creates anIInstallableUnit
query that will iterate over all candidates and discriminate by applying the booleanmatchExpression
on each candidate.static IQuery<IInstallableUnit>
QueryUtil.createMatchQuery
(IExpression matchExpression, Object... parameters) Creates anIInstallableUnit
query that will iterate over all candidates and discriminate by applying the booleanmatchExpression
on each candidate.static IQuery<IInstallableUnit>
QueryUtil.createQuery
(String expression, Object... parameters) Parses theexpression
and creates anIInstallableUnit
query.static IQuery<IInstallableUnit>
QueryUtil.createQuery
(IExpression expression, Object... parameters) Creates anIInstallableUnit
query based on anexpression
that uses all candidates as input.Methods in org.eclipse.equinox.p2.query with parameters of type IInstallableUnitModifier and TypeMethodDescriptionstatic IQuery<IInstallableUnit>
QueryUtil.createIUCategoryMemberQuery
(IInstallableUnit category) Creates a new query that will return the members of the givencategory
.static boolean
QueryUtil.isCategory
(IInstallableUnit iu) Test if theIInstallableUnit
is a category.static boolean
QueryUtil.isFragment
(IInstallableUnit iu) Test if theIInstallableUnit
is a fragment.static boolean
QueryUtil.isGroup
(IInstallableUnit iu) Test if theIInstallableUnit
is a group.static boolean
QueryUtil.isPatch
(IInstallableUnit iu) Test if theIInstallableUnit
is a patch.static boolean
QueryUtil.isProduct
(IInstallableUnit iu) Test if theIInstallableUnit
is a product. -
Uses of IInstallableUnit in org.eclipse.equinox.p2.repository.metadata
Method parameters in org.eclipse.equinox.p2.repository.metadata with type arguments of type IInstallableUnitModifier and TypeMethodDescriptionvoid
IMetadataRepository.addInstallableUnits
(Collection<IInstallableUnit> installableUnits) Add the given installable units to this repository.void
IMetadataRepository.compress
(IPool<IInstallableUnit> iuPool) Cause semantically equivalent IInstallableUnits in the receiver to be replaced with a shared object from the providedIPool
.boolean
IMetadataRepository.removeInstallableUnits
(Collection<IInstallableUnit> installableUnits) Removes all installable units in the given collection from this repository. -
Uses of IInstallableUnit in org.eclipse.equinox.p2.repository.metadata.spi
Fields in org.eclipse.equinox.p2.repository.metadata.spi declared as IInstallableUnitModifier and TypeFieldDescriptionAbstractMetadataRepository.RepositoryState.Units
The persisted set of installable units of the repository.Method parameters in org.eclipse.equinox.p2.repository.metadata.spi with type arguments of type IInstallableUnitModifier and TypeMethodDescriptionvoid
AbstractMetadataRepository.addInstallableUnits
(Collection<IInstallableUnit> installableUnits) void
AbstractMetadataRepository.compress
(IPool<IInstallableUnit> iuPool) IInstallableUnitUIServices.getTrustAuthorityInfo
(Map<URI, Set<IInstallableUnit>> siteIUs, Map<URI, List<Certificate>> siteCertificates) Opens a UI prompt to capture information about trusted authorities.boolean
AbstractMetadataRepository.removeInstallableUnits
(Collection<IInstallableUnit> installableUnits) -
Uses of IInstallableUnit in org.eclipse.equinox.p2.touchpoint.eclipse.query
Methods in org.eclipse.equinox.p2.touchpoint.eclipse.query with parameters of type IInstallableUnitModifier and TypeMethodDescriptionstatic boolean
OSGiBundleQuery.isOSGiBundle
(IInstallableUnit iu) Test if theIInstallableUnit
describes an OSGi bundle. -
Uses of IInstallableUnit in org.eclipse.equinox.p2.ui
Methods in org.eclipse.equinox.p2.ui that return types with arguments of type IInstallableUnitModifier and TypeMethodDescriptionPolicy.getVisibleAvailableIUQuery()
Return a query that can be used to obtain the IInstallableUnits that should be presented to the user from the software repositories.Policy.getVisibleInstalledIUQuery()
Return a query that can be used to obtain the IInstallableUnits in the profile that should be presented to the user.Methods in org.eclipse.equinox.p2.ui with parameters of type IInstallableUnitModifier and TypeMethodDescriptionvoid
AcceptLicensesWizardPage.update
(IInstallableUnit[] theIUs, ProfileChangeOperation operation) Update the page for the specified IInstallableUnits and operation.void
AcceptLicensesWizardPage.updateForPlan
(IInstallableUnit[] theIUs, IProvisioningPlan plan) Update the current page to show the licenses that must be approved for the selected IUs and the provisioning plan.Method parameters in org.eclipse.equinox.p2.ui with type arguments of type IInstallableUnitModifier and TypeMethodDescriptionProvisioningUI.getInstallOperation
(Collection<IInstallableUnit> iusToInstall, URI[] repositories) Return an install operation that describes installing the specified IInstallableUnits from the provided list of repositories.ProvisioningUI.getUninstallOperation
(Collection<IInstallableUnit> iusToUninstall, URI[] repositories) Return an uninstall operation that describes uninstalling the specified IInstallableUnits, using the supplied repositories to replace any metadata that must be retrieved for the uninstall.ProvisioningUI.getUpdateOperation
(Collection<IInstallableUnit> iusToUpdate, URI[] repositories) Return an update operation that describes updating the specified IInstallableUnits from the provided list of repositories.int
ProvisioningUI.openInstallWizard
(Collection<IInstallableUnit> initialSelections, InstallOperation operation, RemediationOperation remediationOperation, LoadMetadataRepositoryJob job) Open an install wizard for installing the specified IInstallableUnits and remediationOperation.int
ProvisioningUI.openInstallWizard
(Collection<IInstallableUnit> initialSelections, InstallOperation operation, LoadMetadataRepositoryJob job) Open an install wizard for installing the specified IInstallableUnitsint
ProvisioningUI.openUninstallWizard
(Collection<IInstallableUnit> initialSelections, UninstallOperation operation, LoadMetadataRepositoryJob job) Open an uninstall wizard for the specified uninstall operation.void
Policy.setVisibleAvailableIUQuery
(IQuery<IInstallableUnit> query) Set the query that can be used to obtain the IInstallableUnits that should be presented to the user.void
Policy.setVisibleInstalledIUQuery
(IQuery<IInstallableUnit> query) Set the query that can be used to obtain the IInstallableUnits in the profile that should be presented to the user.Constructors in org.eclipse.equinox.p2.ui with parameters of type IInstallableUnitModifierConstructorDescriptionAcceptLicensesWizardPage
(LicenseManager manager, IInstallableUnit[] ius, ProfileChangeOperation operation) Create a license acceptance page for showing licenses to the user.