public interface TargetPlatform
Modifier and Type | Field and Description |
---|---|
static String |
ANY_QUALIFIER
Conventional qualifier used to denote "ANY QUALIFIER" in feature.xml and .product files.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptor |
getArtifact(ArtifactKey key) |
ArtifactDescriptor |
getArtifact(File location) |
ArtifactDescriptor |
getArtifact(String type,
String id,
String version)
Returns artifact of the given type and id and best matching version or null if no such
artifact is found.
|
List<ArtifactDescriptor> |
getArtifacts()
Returns all artifacts.
|
List<ArtifactDescriptor> |
getArtifacts(String type)
Returns all artifacts of the given type.
|
ReactorProject |
getMavenProject(File location) |
Set<?> |
getNonReactorUnits()
Set of IInstallableUnits in the target platform that come from outside the local reactor, or
null if the the target platform was not resolved from a p2 repository. |
void |
toDebugString(StringBuilder sb,
String linePrefix)
For debug purposes only, do not use.
|
static final String ANY_QUALIFIER
List<ArtifactDescriptor> getArtifacts()
List<ArtifactDescriptor> getArtifacts(String type)
ArtifactDescriptor getArtifact(String type, String id, String version)
This method uses the following version selection rules
ReactorProject getMavenProject(File location)
ArtifactDescriptor getArtifact(File location)
ArtifactDescriptor getArtifact(ArtifactKey key)
Set<?> getNonReactorUnits()
null
if the the target platform was not resolved from a p2 repository.void toDebugString(StringBuilder sb, String linePrefix)
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.