public class CustomExecutionEnvironment extends Object implements ExecutionEnvironment
| Constructor and Description |
|---|
CustomExecutionEnvironment(String profileName,
List<SystemCapability> systemCapabilities) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCompilerSourceLevelDefault()
Returns a reasonable compiler source level default for this execution environment.
|
String |
getCompilerTargetLevelDefault()
Returns a reasonable compiler target level default for this execution environment.
|
String |
getProfileName() |
Properties |
getProfileProperties() |
Set<String> |
getSystemPackages()
Returns the list of packages (without versions) provided by the execution environment.
|
boolean |
isCompatibleCompilerTargetLevel(String target)
Returns
false if classes compiled with the given compiler target level can
certainly not be executed on this execution environment. |
String |
toString() |
public CustomExecutionEnvironment(String profileName, List<SystemCapability> systemCapabilities)
public String getProfileName()
getProfileName in interface ExecutionEnvironmentpublic Properties getProfileProperties()
getProfileProperties in interface ExecutionEnvironmentpublic Set<String> getSystemPackages()
ExecutionEnvironmentgetSystemPackages in interface ExecutionEnvironmentpublic String getCompilerSourceLevelDefault()
ExecutionEnvironmentgetCompilerSourceLevelDefault in interface ExecutionEnvironmentnull if
unknown.public String getCompilerTargetLevelDefault()
ExecutionEnvironmentgetCompilerTargetLevelDefault in interface ExecutionEnvironmentnull if
unknown.public boolean isCompatibleCompilerTargetLevel(String target)
ExecutionEnvironmentfalse if classes compiled with the given compiler target level can
certainly not be executed on this execution environment. Used to detect inconsistent
configuration.isCompatibleCompilerTargetLevel in interface ExecutionEnvironmentCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.