Interface ScriptEnvironment

    • Method Detail

      • getController

        ScriptController getController()
        Gets the script controller which created this environment
        Returns:
        the parent controller
      • getSettings

        EnvironmentSettings getSettings()
        Gets the environment settings
        Returns:
        the settings
      • getDirectory

        Path getDirectory()
        Gets the environments root scripts directory
        Returns:
        the root directory of this environment
      • getLoader

        EnvironmentScriptLoader getLoader()
        Gets the script loader used by this environment.

        Each environment has it's own loader.

        Returns:
        the script loader
      • getScriptRegistry

        ScriptRegistry getScriptRegistry()
        Gets the script registry, containing all loaded scripts within this environment
        Returns:
        the script registry
      • getExportRegistry

        ExportRegistry getExportRegistry()
        Gets the export registry for this environment
        Returns:
        the export registry