public static interface ScriptController.Builder
ScriptController| Modifier and Type | Method and Description |
|---|---|
ScriptController |
build()
Builds a new
ScriptController from the settings defined in
this builder |
ScriptController.Builder |
defaultEnvironmentSettings(EnvironmentSettings settings)
Defines the default
EnvironmentSettings to use when this
controller creates new ScriptEnvironments. |
ScriptController.Builder |
logger(SystemLogger logger)
Defines the logger to use.
|
ScriptController.Builder |
withDirectory(Path loadDirectory)
Add a directory to be handled by this script controller
|
ScriptController.Builder withDirectory(Path loadDirectory)
loadDirectory - the directoryScriptController.Builder logger(SystemLogger logger)
logger - the loggerScriptController.Builder defaultEnvironmentSettings(EnvironmentSettings settings)
EnvironmentSettings to use when this
controller creates new ScriptEnvironments.settings - the default settingsScriptController build()
ScriptController from the settings defined in
this builderCopyright © 2018. All rights reserved.