Class P2GeneratorImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.impl.publisher.AbstractMetadataGenerator
-
- org.eclipse.tycho.p2.impl.publisher.P2GeneratorImpl
-
- All Implemented Interfaces:
P2Generator
- Direct Known Subclasses:
DefaultDependencyMetadataGenerator
public class P2GeneratorImpl extends AbstractMetadataGenerator implements P2Generator
-
-
Constructor Summary
Constructors Constructor Description P2GeneratorImpl()P2GeneratorImpl(boolean dependenciesOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,IP2Artifact>generateMetadata(List<IArtifactFacade> artifacts, PublisherOptions options, File targetDir)DependencyMetadatagenerateMetadata(IArtifactFacade artifact, List<TargetEnvironment> environments, PublisherOptions options)protected List<org.eclipse.equinox.p2.publisher.IPublisherAction>getPublisherActions(IArtifactFacade artifact, List<TargetEnvironment> environments, OptionalResolutionAction optionalAction)protected List<org.eclipse.equinox.p2.publisher.IPublisherAdvice>getPublisherAdvice(IArtifactFacade artifact, PublisherOptions options)booleanisSupported(String type)voidpersistMetadata(Map<String,IP2Artifact> metadata, File unitsXml, File artifactsXml)voidsetMavenContext(MavenContext mavenContext)-
Methods inherited from class org.eclipse.tycho.p2.impl.publisher.AbstractMetadataGenerator
generateMetadata, getBuildPropertiesParser, getExtraEntriesAdvice, setBuildPropertiesParser
-
-
-
-
Method Detail
-
generateMetadata
public Map<String,IP2Artifact> generateMetadata(List<IArtifactFacade> artifacts, PublisherOptions options, File targetDir) throws IOException
- Specified by:
generateMetadatain interfaceP2Generator- Throws:
IOException
-
persistMetadata
public void persistMetadata(Map<String,IP2Artifact> metadata, File unitsXml, File artifactsXml) throws IOException
- Specified by:
persistMetadatain interfaceP2Generator- Throws:
IOException
-
generateMetadata
public DependencyMetadata generateMetadata(IArtifactFacade artifact, List<TargetEnvironment> environments, PublisherOptions options)
-
getPublisherActions
protected List<org.eclipse.equinox.p2.publisher.IPublisherAction> getPublisherActions(IArtifactFacade artifact, List<TargetEnvironment> environments, OptionalResolutionAction optionalAction)
- Specified by:
getPublisherActionsin classAbstractMetadataGenerator
-
isSupported
public boolean isSupported(String type)
-
getPublisherAdvice
protected List<org.eclipse.equinox.p2.publisher.IPublisherAdvice> getPublisherAdvice(IArtifactFacade artifact, PublisherOptions options)
- Specified by:
getPublisherAdvicein classAbstractMetadataGenerator
-
setMavenContext
public void setMavenContext(MavenContext mavenContext)
-
-