public class P2ResolverImpl extends Object implements P2Resolver
ANY_QUALIFIER, TYPE_ECLIPSE_APPLICATION, TYPE_ECLIPSE_FEATURE, TYPE_ECLIPSE_PLUGIN, TYPE_ECLIPSE_REPOSITORY, TYPE_ECLIPSE_TEST_PLUGIN, TYPE_ECLIPSE_UPDATE_SITE, TYPE_INSTALLABLE_UNIT
Constructor and Description |
---|
P2ResolverImpl(MavenLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(String type,
String id,
String versionRange) |
P2ResolutionResult |
collectProjectDependencies(ResolutionContext context,
File projectLocation) |
List<org.eclipse.equinox.p2.metadata.IRequirement> |
getAdditionalRequirements() |
P2ResolutionResult |
resolveMetadata(ResolutionContext context,
Map<String,String> properties) |
protected P2ResolutionResult |
resolveProject(File projectLocation,
ResolutionStrategy strategy) |
List<P2ResolutionResult> |
resolveProject(ResolutionContext context,
File projectLocation) |
void |
setEnvironments(List<Map<String,String>> environments) |
public P2ResolverImpl(MavenLogger logger)
public List<P2ResolutionResult> resolveProject(ResolutionContext context, File projectLocation)
resolveProject
in interface P2Resolver
public P2ResolutionResult collectProjectDependencies(ResolutionContext context, File projectLocation)
collectProjectDependencies
in interface P2Resolver
public P2ResolutionResult resolveMetadata(ResolutionContext context, Map<String,String> properties)
resolveMetadata
in interface P2Resolver
protected P2ResolutionResult resolveProject(File projectLocation, ResolutionStrategy strategy)
public void setEnvironments(List<Map<String,String>> environments)
setEnvironments
in interface P2Resolver
public void addDependency(String type, String id, String versionRange)
addDependency
in interface P2Resolver
public List<org.eclipse.equinox.p2.metadata.IRequirement> getAdditionalRequirements()
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.