public interface ExecutionEnvironment
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 targetLevel)
Returns
false if classes compiled with the given compiler target level can
certainly not be executed on this execution environment. |
String getProfileName()
Set<String> getSystemPackages()
Properties getProfileProperties()
String getCompilerSourceLevelDefault()
null
if
unknown.String getCompilerTargetLevelDefault()
null
if
unknown.boolean isCompatibleCompilerTargetLevel(String targetLevel)
false
if classes compiled with the given compiler target level can
certainly not be executed on this execution environment. Used to detect inconsistent
configuration.Copyright © 2008–2019 Eclipse Foundation. All rights reserved.