public interface MirrorApplicationService
Modifier and Type | Method and Description |
---|---|
void |
mirrorReactor(RepositoryReferences sources,
DestinationRepositoryDescriptor destination,
Collection<?> seedUnits,
BuildContext context,
boolean includeAllDependencies,
boolean includePacked)
Copies the given installable units and their dependencies into the p2 repository at the
destination location.
|
void |
mirrorStandalone(RepositoryReferences sources,
DestinationRepositoryDescriptor destination,
Collection<IUDescription> seedUnits,
MirrorOptions mirrorOptions,
BuildOutputDirectory tempDirectory)
Copies installable units from the source repositories to the destination repository.
|
void mirrorReactor(RepositoryReferences sources, DestinationRepositoryDescriptor destination, Collection<?> seedUnits, BuildContext context, boolean includeAllDependencies, boolean includePacked) throws FacadeException
true
.sources
- The p2 repositories from which dependencies and artifacts are copieddestination
- The p2 repository that shall be written to. The location must be a directory,
which may be empty. Existing content is not overwritten but is appended to.seedUnits
- A set of installable units that span the content to be copied. Note that the given
installable units are written into the destination p2 repository without checking
if they are actually present in the source repositories. Therefore only units from
the source repositories should be passed via this parameter.context
- Build context information; in particular this parameter defines a filter for
environment specific installable unitsincludeAllDependencies
- Whether to include all transitive dependenciesincludePacked
- Whether to include packed artifactsFacadeException
- if a checked exception occurs while mirroringvoid mirrorStandalone(RepositoryReferences sources, DestinationRepositoryDescriptor destination, Collection<IUDescription> seedUnits, MirrorOptions mirrorOptions, BuildOutputDirectory tempDirectory) throws FacadeException
sources
- The p2 repositories from which content shall be copied.destination
- The p2 repository that shall be written to. The location must be a directory,
which may be empty. Existing content is not overwritten but is appended to.seedUnits
- A set of installable units that span the content to be mirrored. May be
null
if all available IUs shall be copied. The given installable
units will be checked if they are actually present in the source repositories.mirrorOptions
- various mirror options. Must not be null
.tempDirectory
- A directory for storing temporary results. Typically the build target folder of a
module.FacadeException
- if a checked exception occurs while mirroringCopyright © 2008-2013 Eclipse Foundation. All Rights Reserved.