public class CustomExecutionEnvironment extends Object implements ExecutionEnvironment
Constructor and Description |
---|
CustomExecutionEnvironment(String profileName,
List<SystemCapability> systemCapabilities) |
Modifier and Type | Method and Description |
---|---|
String |
getCompilerSourceLevel() |
String |
getCompilerTargetLevel() |
String |
getProfileName() |
Properties |
getProfileProperties() |
Set<String> |
getSystemPackages()
Returns the list of packages (without versions) provided by the execution environment.
|
boolean |
isCompatibleCompilerTargetLevel(String target)
Returns
true if classes compiled for the specified target can be executed in
this execution environment or if this environment's compiler target compatibility is unknown. |
String |
toString() |
public CustomExecutionEnvironment(String profileName, List<SystemCapability> systemCapabilities)
public String getProfileName()
getProfileName
in interface ExecutionEnvironment
public Properties getProfileProperties()
getProfileProperties
in interface ExecutionEnvironment
public Set<String> getSystemPackages()
ExecutionEnvironment
getSystemPackages
in interface ExecutionEnvironment
public String getCompilerSourceLevel()
getCompilerSourceLevel
in interface ExecutionEnvironment
public String getCompilerTargetLevel()
getCompilerTargetLevel
in interface ExecutionEnvironment
public boolean isCompatibleCompilerTargetLevel(String target)
ExecutionEnvironment
true
if classes compiled for the specified target can be executed in
this execution environment or if this environment's compiler target compatibility is unknown.isCompatibleCompilerTargetLevel
in interface ExecutionEnvironment
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.