public interface P2Resolver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANY_QUALIFIER |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(java.lang.String type,
java.lang.String id,
java.lang.String versionRange) |
P2ResolutionResult |
collectProjectDependencies(TargetPlatform context,
ReactorProject project)
Deprecated.
Only needed for the deprecated eclipse-update-site (see bug 342876)
|
P2ResolutionResult |
getTargetPlatformAsResolutionResult(TargetPlatformConfigurationStub tpConfiguration,
java.lang.String eeName) |
java.util.List<P2ResolutionResult> |
resolveDependencies(TargetPlatform context,
ReactorProject project)
Returns list ordered of resolution result, one per requested TargetEnvironment.
|
P2ResolutionResult |
resolveInstallableUnit(TargetPlatform context,
java.lang.String id,
java.lang.String versionRange)
Resolves specified installable unit identified by id and versionRange.
|
P2ResolutionResult |
resolveMetadata(TargetPlatformConfigurationStub context,
java.lang.String executionEnvironmentName) |
void |
setAdditionalFilterProperties(java.util.Map<java.lang.String,java.lang.String> filterProperties)
Sets additional properties that will be used to evaluate filter expressions in the p2
metadata.
|
void |
setEnvironments(java.util.List<TargetEnvironment> environments) |
static final java.lang.String ANY_QUALIFIER
void setEnvironments(java.util.List<TargetEnvironment> environments)
void setAdditionalFilterProperties(java.util.Map<java.lang.String,java.lang.String> filterProperties)
void addDependency(java.lang.String type, java.lang.String id, java.lang.String versionRange) throws IllegalArtifactReferenceException
java.util.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, java.lang.String executionEnvironmentName)
P2ResolutionResult getTargetPlatformAsResolutionResult(TargetPlatformConfigurationStub tpConfiguration, java.lang.String eeName)
P2ResolutionResult resolveInstallableUnit(TargetPlatform context, java.lang.String id, java.lang.String versionRange)