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 TypeMethodDescriptionvoidIProvisioningPlan.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.voidIProvisioningPlan.removeInstallableUnit(IInstallableUnit iu) Removes an installable unit from the plan.voidIProvisioningPlan.setInstallableUnitProfileProperty(IInstallableUnit iu, String name, String value) Adds a profile property corresponding to the given installable unit to the plan.voidIProvisioningPlan.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.voidProvisioningContext.setExtraInstallableUnits(List<IInstallableUnit> extraIUs) Sets the list of additional installable units that should be considered as available for installation by the planner.voidIProvisioningPlan.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 booleanUserVisibleRootQuery.isUserVisible(IInstallableUnit iu, IProfile profile) Test if theIInstallableUnit, in the context of aIProfileis visible to the user -
Uses of IInstallableUnit in org.eclipse.equinox.p2.metadata
Subinterfaces of IInstallableUnit in org.eclipse.equinox.p2.metadataModifier and TypeInterfaceDescriptioninterfaceRepresents a fragment that contributes additional requirements, capabilities, and other properties to some host installable unit.interfaceAn 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 IInstallableUnitMetadataFactory.createInstallableUnit(MetadataFactory.InstallableUnitDescription description) Returns anIInstallableUnitbased on the given description.static IInstallableUnitMetadataFactory.createResolvedInstallableUnit(IInstallableUnit unit, IInstallableUnitFragment[] fragments) Returns anIInstallableUnitthat 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 anyIInstallableUnitthat matches the requirement.Methods in org.eclipse.equinox.p2.metadata with parameters of type IInstallableUnitModifier and TypeMethodDescriptionstatic IInstallableUnitMetadataFactory.createResolvedInstallableUnit(IInstallableUnit unit, IInstallableUnitFragment[] fragments) Returns anIInstallableUnitthat represents the given unit bound to the given fragments.booleanIRequirement.isMatch(IInstallableUnit iu) Returns whether the provided capabilities of the given installable unit satisfy this requirement.booleanIUpdateDescriptor.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 IRequirementMetadataFactory.createRequirement(String namespace, String propsFilter, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy) static IRequirementMetadataFactory.createRequirement(String namespace, String propsFilter, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy, String description) static IRequirementMetadataFactory.createRequirement(String namespace, String name, VersionRange range, IMatchExpression<IInstallableUnit> filter, boolean optional, boolean multiple) Returns aIRequirementwith the given values.static IRequirementMetadataFactory.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 IRequirementMetadataFactory.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 IRequirementMetadataFactory.createRequirement(String namespace, IFilterExpression propsFilter, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy, String description) static IRequirementMetadataFactory.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 IRequirementMetadataFactory.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 IUpdateDescriptorMetadataFactory.createUpdateDescriptor(Collection<IMatchExpression<IInstallableUnit>> descriptors, int severity, String description, URI location) voidMetadataFactory.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 ofIInstallableUnitfrom the input stream.Method parameters in org.eclipse.equinox.p2.metadata.io with type arguments of type IInstallableUnitModifier and TypeMethodDescriptionvoidIUSerializer.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.toInstallMethods 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 theIInstallableUnits 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 TypeMethodDescriptionvoidIProfileChangeRequest.add(IInstallableUnit toInstall) Causes the installation of the mentioned IU.static StringProfileInclusionRules.createOptionalInclusionRule(IInstallableUnit iu) Returns an inclusion rule to optionally install the given installable unit.static StringProfileInclusionRules.createStrictInclusionRule(IInstallableUnit iu) Returns an inclusion rule to strictly install the given installable unit.voidIProfileChangeRequest.remove(IInstallableUnit toUninstall) Requests the removal of the specified installable unitvoidIProfileChangeRequest.removeInstallableUnitInclusionRules(IInstallableUnit iu) Removes all inclusion rules associated with the given installable unitvoidIProfileChangeRequest.removeInstallableUnitProfileProperty(IInstallableUnit iu, String key) Remove a property with a given installable unit.voidIProfileChangeRequest.setInstallableUnitInclusionRules(IInstallableUnit iu, String inclusionRule) Associate an inclusion rule with the installable unit.voidIProfileChangeRequest.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 TypeMethodDescriptionvoidIProfileChangeRequest.addAll(Collection<IInstallableUnit> toInstall) Causes the installation of all the IUs mentionedvoidIProfileChangeRequest.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_UNITSstatic final IQuery<IInstallableUnit> QueryUtil.NO_UNITSMethods 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 allInstallableUnitelementsstatic 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 everyIInstallableUnitthat is a category.static IQuery<IInstallableUnit> QueryUtil.createIUGroupQuery()Creates a query matching everyIInstallableUnitthat is a group.static IQuery<IInstallableUnit> QueryUtil.createIUPatchQuery()Creates anIInstallableUnitthat will match all patches.static IQuery<IInstallableUnit> QueryUtil.createIUProductQuery()Creates anIInstallableUnitthat will match all products.static IQuery<IInstallableUnit> QueryUtil.createIUPropertyQuery(String propertyName, String propertyValue) Creates a query that searches forIInstallableUnitinstances that have a property whose value matches the provided value.static IQuery<IInstallableUnit> QueryUtil.createIUQuery(String id) Creates a query that will match anyIInstallableUnitwith the given id, regardless of version.static IQuery<IInstallableUnit> QueryUtil.createIUQuery(String id, Version version) Creates a query that will match anyIInstallableUnitwith the given id and version.static IQuery<IInstallableUnit> QueryUtil.createIUQuery(String id, VersionRange range) Creates a query that will match anyIInstallableUnitwith the given id, and whose version falls in the provided range.static IQuery<IInstallableUnit> QueryUtil.createIUQuery(IVersionedId versionedId) Creates a query that will match anyIInstallableUnitwith 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 thematchExpressionand creates anIInstallableUnitquery that will iterate over all candidates and discriminate by applying the booleanmatchExpressionon each candidate.static IQuery<IInstallableUnit> QueryUtil.createMatchQuery(IExpression matchExpression, Object... parameters) Creates anIInstallableUnitquery that will iterate over all candidates and discriminate by applying the booleanmatchExpressionon each candidate.static IQuery<IInstallableUnit> QueryUtil.createQuery(String expression, Object... parameters) Parses theexpressionand creates anIInstallableUnitquery.static IQuery<IInstallableUnit> QueryUtil.createQuery(IExpression expression, Object... parameters) Creates anIInstallableUnitquery based on anexpressionthat 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 booleanQueryUtil.isCategory(IInstallableUnit iu) Test if theIInstallableUnitis a category.static booleanQueryUtil.isFragment(IInstallableUnit iu) Test if theIInstallableUnitis a fragment.static booleanQueryUtil.isGroup(IInstallableUnit iu) Test if theIInstallableUnitis a group.static booleanQueryUtil.isPatch(IInstallableUnit iu) Test if theIInstallableUnitis a patch.static booleanQueryUtil.isProduct(IInstallableUnit iu) Test if theIInstallableUnitis 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 TypeMethodDescriptionvoidIMetadataRepository.addInstallableUnits(Collection<IInstallableUnit> installableUnits) Add the given installable units to this repository.voidIMetadataRepository.compress(IPool<IInstallableUnit> iuPool) Cause semantically equivalent IInstallableUnits in the receiver to be replaced with a shared object from the providedIPool.booleanIMetadataRepository.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.UnitsThe 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 TypeMethodDescriptionvoidAbstractMetadataRepository.addInstallableUnits(Collection<IInstallableUnit> installableUnits) voidAbstractMetadataRepository.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.booleanAbstractMetadataRepository.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 booleanOSGiBundleQuery.isOSGiBundle(IInstallableUnit iu) Test if theIInstallableUnitdescribes 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 TypeMethodDescriptionvoidAcceptLicensesWizardPage.update(IInstallableUnit[] theIUs, ProfileChangeOperation operation) Update the page for the specified IInstallableUnits and operation.voidAcceptLicensesWizardPage.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.intProvisioningUI.openInstallWizard(Collection<IInstallableUnit> initialSelections, InstallOperation operation, RemediationOperation remediationOperation, LoadMetadataRepositoryJob job) Open an install wizard for installing the specified IInstallableUnits and remediationOperation.intProvisioningUI.openInstallWizard(Collection<IInstallableUnit> initialSelections, InstallOperation operation, LoadMetadataRepositoryJob job) Open an install wizard for installing the specified IInstallableUnitsintProvisioningUI.openUninstallWizard(Collection<IInstallableUnit> initialSelections, UninstallOperation operation, LoadMetadataRepositoryJob job) Open an uninstall wizard for the specified uninstall operation.voidPolicy.setVisibleAvailableIUQuery(IQuery<IInstallableUnit> query) Set the query that can be used to obtain the IInstallableUnits that should be presented to the user.voidPolicy.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.