public interface P2Resolver
Modifier and Type | Field and Description |
---|---|
static String |
ANY_QUALIFIER |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(String type,
String id,
String versionRange) |
P2ResolutionResult |
collectProjectDependencies(TargetPlatform context,
ReactorProject project)
Deprecated.
Only needed for the deprecated eclipse-update-site (see bug 342876)
|
P2ResolutionResult |
getTargetPlatformAsResolutionResult(TargetPlatformConfigurationStub tpConfiguration,
String eeName) |
List<P2ResolutionResult> |
resolveDependencies(TargetPlatform context,
ReactorProject project)
Returns list ordered of resolution result, one per requested TargetEnvironment.
|
P2ResolutionResult |
resolveInstallableUnit(TargetPlatform context,
String id,
String versionRange)
Resolves specified installable unit identified by id and versionRange.
|
P2ResolutionResult |
resolveMetadata(TargetPlatformConfigurationStub context,
String executionEnvironmentName) |
void |
setAdditionalFilterProperties(Map<String,String> filterProperties)
Sets additional properties that will be used to evaluate filter expressions in the p2
metadata.
|
void |
setEnvironments(List<TargetEnvironment> environments) |
static final String ANY_QUALIFIER
void setEnvironments(List<TargetEnvironment> environments)
void setAdditionalFilterProperties(Map<String,String> filterProperties)
void addDependency(String type, String id, String versionRange) throws IllegalArtifactReferenceException
List<P2ResolutionResult> resolveDependencies(TargetPlatform context, ReactorProject project)
project
- The reactor project to be resolved. May be null
, in which case only
the additional dependencies are resolved.addDependency(String, String, String)
@Deprecated P2ResolutionResult collectProjectDependencies(TargetPlatform context, ReactorProject project)
P2ResolutionResult resolveMetadata(TargetPlatformConfigurationStub context, String executionEnvironmentName)
P2ResolutionResult getTargetPlatformAsResolutionResult(TargetPlatformConfigurationStub tpConfiguration, String eeName)
P2ResolutionResult resolveInstallableUnit(TargetPlatform context, String id, String versionRange)
Copyright © 2008–2016 Eclipse Foundation. All rights reserved.