public class TargetPlatformImpl extends Object implements P2TargetPlatform
Constructor and Description |
---|
TargetPlatformImpl(Collection<IReactorArtifactFacade> reactorProjects,
Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> ius,
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactIUs,
ExecutionEnvironmentResolutionHints executionEnvironment,
TargetPlatformFilterEvaluator filter,
LocalMetadataRepository localMetadataRepository,
List<URI> allRemoteArtifactRepositories,
LocalArtifactRepository localMavenRepository,
org.eclipse.equinox.p2.core.IProvisioningAgent agent,
boolean includePackedArtifacts,
MavenLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
downloadArtifacts(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits) |
ExecutionEnvironmentResolutionHints |
getEEResolutionHints()
Returns additional information for resolving against the configured execution environment.
|
Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getInstallableUnits() |
File |
getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
IArtifactFacade |
getMavenArtifact(org.eclipse.equinox.p2.metadata.IInstallableUnit iu) |
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IReactorArtifactFacade> |
getReactorProjectIUs() |
Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getReactorProjectIUs(File projectRoot,
boolean primary) |
void |
reportUsedIUs(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
Notify the target platform implementation about which IUs are actually used.
|
public TargetPlatformImpl(Collection<IReactorArtifactFacade> reactorProjects, Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> ius, Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactIUs, ExecutionEnvironmentResolutionHints executionEnvironment, TargetPlatformFilterEvaluator filter, LocalMetadataRepository localMetadataRepository, List<URI> allRemoteArtifactRepositories, LocalArtifactRepository localMavenRepository, org.eclipse.equinox.p2.core.IProvisioningAgent agent, boolean includePackedArtifacts, MavenLogger logger)
public Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits()
getInstallableUnits
in interface P2TargetPlatform
public Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IReactorArtifactFacade> getReactorProjectIUs()
public ExecutionEnvironmentResolutionHints getEEResolutionHints()
P2TargetPlatform
getEEResolutionHints
in interface P2TargetPlatform
public Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getReactorProjectIUs(File projectRoot, boolean primary)
getReactorProjectIUs
in interface P2TargetPlatform
public IArtifactFacade getMavenArtifact(org.eclipse.equinox.p2.metadata.IInstallableUnit iu)
getMavenArtifact
in interface P2TargetPlatform
public File getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
getLocalArtifactFile
in interface P2TargetPlatform
public void reportUsedIUs(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
P2TargetPlatform
reportUsedIUs
in interface P2TargetPlatform
public void downloadArtifacts(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
downloadArtifacts
in interface P2TargetPlatform
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.