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 ExecutionEnvironment
public Properties getProfileProperties()
getProfileProperties
in interface ExecutionEnvironment
public Set<String> getSystemPackages()
ExecutionEnvironment
getSystemPackages
in interface ExecutionEnvironment
public String getCompilerSourceLevelDefault()
ExecutionEnvironment
getCompilerSourceLevelDefault
in interface ExecutionEnvironment
null
if
unknown.public String getCompilerTargetLevelDefault()
ExecutionEnvironment
getCompilerTargetLevelDefault
in interface ExecutionEnvironment
null
if
unknown.public boolean isCompatibleCompilerTargetLevel(String target)
ExecutionEnvironment
false
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 ExecutionEnvironment
Copyright © 2008-2016 Eclipse Foundation. All Rights Reserved.