public class TargetPlatformImpl extends Object implements P2TargetPlatform
Constructor and Description |
---|
TargetPlatformImpl(Collection<ReactorProject> reactorProjects,
Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> ius,
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactIUs,
ExecutionEnvironmentResolutionHints executionEnvironment,
TargetPlatformFilterEvaluator filter,
LocalMetadataRepository localMetadataRepository,
IRawArtifactFileProvider jointArtifacts,
LocalArtifactRepository localArtifactRepository,
boolean includeLocalRepo,
MavenLogger logger) |
Modifier and Type | Method and Description |
---|---|
ExecutionEnvironmentResolutionHints |
getEEResolutionHints()
Returns additional information for resolving against the configured execution environment.
|
Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getInstallableUnits() |
File |
getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> |
getOriginalMavenArtifactMap()
Returns the map from target platform installable units back to the contributing Maven
artifacts.
|
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> |
getOriginalReactorProjectMap()
Returns the map from target platform installable units back to the contributing reactor
project.
|
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> |
getReactorProjectIUs() |
void |
reportUsedLocalIUs(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits) |
void |
saveLocalMavenRepository() |
public TargetPlatformImpl(Collection<ReactorProject> reactorProjects, Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> ius, Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactIUs, ExecutionEnvironmentResolutionHints executionEnvironment, TargetPlatformFilterEvaluator filter, LocalMetadataRepository localMetadataRepository, IRawArtifactFileProvider jointArtifacts, LocalArtifactRepository localArtifactRepository, boolean includeLocalRepo, MavenLogger logger)
public Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits()
getInstallableUnits
in interface P2TargetPlatform
public Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> getReactorProjectIUs()
public ExecutionEnvironmentResolutionHints getEEResolutionHints()
P2TargetPlatform
getEEResolutionHints
in interface P2TargetPlatform
public Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> getOriginalReactorProjectMap()
P2TargetPlatform
Note: The map may contain additional installable units as keys, i.e. not all keys are necessarily part of the target platform.
getOriginalReactorProjectMap
in interface P2TargetPlatform
public Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> getOriginalMavenArtifactMap()
P2TargetPlatform
Note: The map may contain additional installable units as keys, i.e. not all keys are necessarily part of the target platform.
getOriginalMavenArtifactMap
in interface P2TargetPlatform
public File getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
getLocalArtifactFile
in interface P2TargetPlatform
public void saveLocalMavenRepository()
saveLocalMavenRepository
in interface P2TargetPlatform
public void reportUsedLocalIUs(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
reportUsedLocalIUs
in interface P2TargetPlatform
Copyright © 2008–2014 Eclipse Foundation. All rights reserved.