public class P2GeneratorImpl extends AbstractMetadataGenerator implements P2Generator
Constructor and Description |
---|
P2GeneratorImpl() |
P2GeneratorImpl(boolean dependenciesOnly) |
Modifier and Type | Method and Description |
---|---|
DependencyMetadata |
generateMetadata(IArtifactFacade artifact,
List<Map<String,String>> environments) |
Map<String,Set<Object>> |
generateMetadata(List<IArtifactFacade> artifacts,
Map<String,IArtifactFacade> attachedArtifacts,
File targetDir) |
protected List<org.eclipse.equinox.p2.publisher.IPublisherAction> |
getPublisherActions(IArtifactFacade artifact,
List<Map<String,String>> environments,
OptionalResolutionAction optionalAction) |
protected List<org.eclipse.equinox.p2.publisher.IPublisherAdvice> |
getPublisherAdvice(IArtifactFacade artifact) |
boolean |
isSupported(String type) |
generateMetadata, getBuildPropertiesParser, getExtraEntriesAdvice, setBuildPropertiesParser
public P2GeneratorImpl(boolean dependenciesOnly)
public P2GeneratorImpl()
public Map<String,Set<Object>> generateMetadata(List<IArtifactFacade> artifacts, Map<String,IArtifactFacade> attachedArtifacts, File targetDir) throws IOException
generateMetadata
in interface P2Generator
attachedArtifacts
- The passed data maps maven artifact classifier to artifacts. It is intended for
adding additional artifacts during meta-data generation. Artifacts in this map
will be attached with given classifier to the maven project for which meta-data is
generated.targetDir
- location to store artifacts created during meta data generation (e.g. root file
zip)IOException
public DependencyMetadata generateMetadata(IArtifactFacade artifact, List<Map<String,String>> environments)
protected List<org.eclipse.equinox.p2.publisher.IPublisherAction> getPublisherActions(IArtifactFacade artifact, List<Map<String,String>> environments, OptionalResolutionAction optionalAction)
getPublisherActions
in class AbstractMetadataGenerator
public boolean isSupported(String type)
protected List<org.eclipse.equinox.p2.publisher.IPublisherAdvice> getPublisherAdvice(IArtifactFacade artifact)
getPublisherAdvice
in class AbstractMetadataGenerator
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.