Package org.eclipse.tycho.core.ee.shared
Interface ExecutionEnvironment
-
- All Known Implementing Classes:
CustomExecutionEnvironment
,StandardExecutionEnvironment
public interface ExecutionEnvironment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCompilerSourceLevelDefault()
Returns a reasonable compiler source level default for this execution environment.java.lang.String
getCompilerTargetLevelDefault()
Returns a reasonable compiler target level default for this execution environment.java.lang.String
getProfileName()
java.util.Properties
getProfileProperties()
java.util.Set<java.lang.String>
getSystemPackages()
Returns the list of packages (without versions) provided by the execution environment.boolean
isCompatibleCompilerTargetLevel(java.lang.String targetLevel)
Returnsfalse
if classes compiled with the given compiler target level can certainly not be executed on this execution environment.
-
-
-
Method Detail
-
getProfileName
java.lang.String getProfileName()
-
getSystemPackages
java.util.Set<java.lang.String> getSystemPackages()
Returns the list of packages (without versions) provided by the execution environment.
-
getProfileProperties
java.util.Properties getProfileProperties()
-
getCompilerSourceLevelDefault
java.lang.String getCompilerSourceLevelDefault()
Returns a reasonable compiler source level default for this execution environment.- Returns:
- a compiler source level matching the execution environment, or
null
if unknown.
-
getCompilerTargetLevelDefault
java.lang.String getCompilerTargetLevelDefault()
Returns a reasonable compiler target level default for this execution environment.- Returns:
- a compiler target level matching the execution environment, or
null
if unknown.
-
isCompatibleCompilerTargetLevel
boolean isCompatibleCompilerTargetLevel(java.lang.String targetLevel)
Returnsfalse
if classes compiled with the given compiler target level can certainly not be executed on this execution environment. Used to detect inconsistent configuration.
-
-