public interface ExecutionEnvironment
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns a reasonable compiler source level default for this execution environment.Returns a reasonable compiler target level default for this execution environment.Returns the list of packages (without versions) provided by the execution environment.booleanisCompatibleCompilerTargetLevel(String targetLevel) Returnsfalseif classes compiled with the given compiler target level can certainly not be executed on this execution environment.
-
Method Details
-
getProfileName
String getProfileName() -
getSystemPackages
Collection<ExecutionEnvironment.SystemPackageEntry> getSystemPackages()Returns the list of packages (without versions) provided by the execution environment. -
getProfileProperties
Properties getProfileProperties() -
getCompilerSourceLevelDefault
String getCompilerSourceLevelDefault()Returns a reasonable compiler source level default for this execution environment.- Returns:
- a compiler source level matching the execution environment, or
nullif unknown.
-
getCompilerTargetLevelDefault
String getCompilerTargetLevelDefault()Returns a reasonable compiler target level default for this execution environment.- Returns:
- a compiler target level matching the execution environment, or
nullif unknown.
-
isCompatibleCompilerTargetLevel
Returnsfalseif classes compiled with the given compiler target level can certainly not be executed on this execution environment. Used to detect inconsistent configuration.
-