Package org.eclipse.tycho.p2.target
Class PomDependencyCollectorImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.target.PomDependencyCollectorImpl
-
- All Implemented Interfaces:
PomDependencyCollector
public class PomDependencyCollectorImpl extends java.lang.Object implements PomDependencyCollector
-
-
Field Summary
Fields Modifier and Type Field Description private TargetPlatformBundlePublisherbundlesPublisherprivate MavenLoggerloggerprivate java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade>mavenInstallableUnitsprivate java.io.FileprojectLocation
-
Constructor Summary
Constructors Constructor Description PomDependencyCollectorImpl(MavenContext mavenContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArtifactWithExistingMetadata(IArtifactFacade artifact, IArtifactFacade p2MetadataFile)voidaddMavenArtifact(IArtifactFacade artifact, java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units)(package private) java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit>gatherMavenInstallableUnits()(package private) IRawArtifactFileProvidergetArtifactRepoOfPublishedBundles()(package private) java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade>getMavenInstallableUnits()java.io.FilegetProjectLocation()voidpublishAndAddArtifactIfBundleArtifact(IArtifactFacade artifact)private java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>readUnits(IArtifactFacade p2MetadataFile)voidsetProjectLocation(java.io.File projectLocation)Sets the root folder of the project the target platform applies to.
-
-
-
Field Detail
-
bundlesPublisher
private final TargetPlatformBundlePublisher bundlesPublisher
-
logger
private final MavenLogger logger
-
mavenInstallableUnits
private java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenInstallableUnits
-
projectLocation
private java.io.File projectLocation
-
-
Constructor Detail
-
PomDependencyCollectorImpl
public PomDependencyCollectorImpl(MavenContext mavenContext)
-
-
Method Detail
-
setProjectLocation
public void setProjectLocation(java.io.File projectLocation)
Description copied from interface:PomDependencyCollectorSets the root folder of the project the target platform applies to.- Specified by:
setProjectLocationin interfacePomDependencyCollector
-
getProjectLocation
public java.io.File getProjectLocation()
-
publishAndAddArtifactIfBundleArtifact
public void publishAndAddArtifactIfBundleArtifact(IArtifactFacade artifact)
- Specified by:
publishAndAddArtifactIfBundleArtifactin interfacePomDependencyCollector
-
addArtifactWithExistingMetadata
public void addArtifactWithExistingMetadata(IArtifactFacade artifact, IArtifactFacade p2MetadataFile)
- Specified by:
addArtifactWithExistingMetadatain interfacePomDependencyCollector
-
readUnits
private java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> readUnits(IArtifactFacade p2MetadataFile) throws java.io.IOException
- Throws:
java.io.IOException
-
addMavenArtifact
public void addMavenArtifact(IArtifactFacade artifact, java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units)
-
gatherMavenInstallableUnits
java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> gatherMavenInstallableUnits()
-
getMavenInstallableUnits
java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> getMavenInstallableUnits()
-
getArtifactRepoOfPublishedBundles
IRawArtifactFileProvider getArtifactRepoOfPublishedBundles()
-
-