public interface P2Resolver
Modifier and Type | Field and Description |
---|---|
static String |
ANY_QUALIFIER |
static String |
TYPE_INSTALLABLE_UNIT
Pseudo artifact type used to denote P2 installable unit dependencies
|
Modifier and Type | Method and Description |
---|---|
void |
addDependency(String type,
String id,
String versionRange) |
P2ResolutionResult |
collectProjectDependencies(TargetPlatform context,
File projectLocation)
Deprecated.
|
List<P2ResolutionResult> |
resolveDependencies(TargetPlatform context,
File reactorProjectLocation)
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(TargetPlatformBuilder context) |
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 TYPE_INSTALLABLE_UNIT
ArtifactKey
,
Constant Field Valuesstatic final String ANY_QUALIFIER
void setEnvironments(List<TargetEnvironment> environments)
void setAdditionalFilterProperties(Map<String,String> filterProperties)
List<P2ResolutionResult> resolveDependencies(TargetPlatform context, File reactorProjectLocation)
reactorProjectLocation
- may be null
@Deprecated P2ResolutionResult collectProjectDependencies(TargetPlatform context, File projectLocation)
P2ResolutionResult resolveMetadata(TargetPlatformBuilder context)
P2ResolutionResult resolveInstallableUnit(TargetPlatform context, String id, String versionRange)
Copyright © 2008–2014 Eclipse Foundation. All rights reserved.