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 ExecutionEnvironment
public String getCompilerSourceLevelDefault()
ExecutionEnvironment
getCompilerSourceLevelDefault
in interface ExecutionEnvironment
null
if
unknown.public String getCompilerTargetLevelDefault()
ExecutionEnvironment
getCompilerTargetLevelDefault
in interface ExecutionEnvironment
null
if
unknown.public Set<String> getSystemPackages()
ExecutionEnvironment
getSystemPackages
in interface ExecutionEnvironment
public int compareTo(StandardExecutionEnvironment otherEnv)
compareTo
in interface Comparable<StandardExecutionEnvironment>
public Properties getProfileProperties()
getProfileProperties
in interface ExecutionEnvironment
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–2014 Eclipse Foundation. All rights reserved.