Interface ExecutionEnvironment

    • Method Detail

      • getProfileName

        java.lang.String getProfileName()
      • 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)
        Returns false if classes compiled with the given compiler target level can certainly not be executed on this execution environment. Used to detect inconsistent configuration.