public interface TargetPlatform
Modifier and Type | Field and Description |
---|---|
static String |
FINAL_TARGET_PLATFORM_KEY
Key under which the final target platform is stored in the reactor project instances.
|
Modifier and Type | Method and Description |
---|---|
File |
getArtifactLocation(ArtifactKey artifact)
Returns the file system location of the given target platform artifact.
|
ArtifactKey |
resolveArtifact(String type,
String id,
String versionRef)
Returns an artifact of the given type, id and matching version.
|
static final String FINAL_TARGET_PLATFORM_KEY
ArtifactKey resolveArtifact(String type, String id, String versionRef) throws IllegalArtifactReferenceException, DependencyResolutionException
null
matches any version
type
- One of the types defined in ArtifactType
id
- The ID of the artifact to be found.versionRef
- A version reference string selecting one exact version or versions from a range.
May be null
.IllegalArtifactReferenceException
- if an invalid type or malformed version reference is givenDependencyResolutionException
- if there is no matching artifact in the target platform.File getArtifactLocation(ArtifactKey artifact)
null
if the artifact does not
exist in the target platform, or if the given ArtifactKey refers to an
metadata-only "artifact" e.g. a product definition.Copyright © 2008–2022 Eclipse Foundation. All rights reserved.