public class StandardExecutionEnvironment extends Object implements Comparable<StandardExecutionEnvironment>, ExecutionEnvironment
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(StandardExecutionEnvironment otherEnv) |
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 String getProfileName()
getProfileName in interface ExecutionEnvironmentpublic String getCompilerSourceLevelDefault()
ExecutionEnvironmentgetCompilerSourceLevelDefault in interface ExecutionEnvironmentnull if
unknown.public String getCompilerTargetLevelDefault()
ExecutionEnvironmentgetCompilerTargetLevelDefault in interface ExecutionEnvironmentnull if
unknown.public Set<String> getSystemPackages()
ExecutionEnvironmentgetSystemPackages in interface ExecutionEnvironmentpublic int compareTo(StandardExecutionEnvironment otherEnv)
compareTo in interface Comparable<StandardExecutionEnvironment>public Properties getProfileProperties()
getProfileProperties in interface ExecutionEnvironmentpublic 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-2013 Eclipse Foundation. All Rights Reserved.