Class ScriptControllerImpl
- java.lang.Object
-
- me.lucko.scriptcontroller.internal.ScriptControllerImpl
-
- All Implemented Interfaces:
ScriptController
public final class ScriptControllerImpl extends Object implements ScriptController
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ScriptController.Builderbuilder()Deprecated.static EnvironmentSettingsdefaultSettings()Deprecated.Collection<ScriptEnvironment>getEnvironments()Gets theScriptEnvironments being processed by the controllerstatic EnvironmentSettings.BuildernewSettingsBuilder()Deprecated.ScriptEnvironmentsetupNewEnvironment(Path loadDirectory, EnvironmentSettings settings)Sets up a newScriptEnvironmentin the given load directory.voidshutdown()Shuts down this script controller-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface me.lucko.scriptcontroller.ScriptController
setupNewEnvironment
-
-
-
-
Method Detail
-
builder
@Deprecated public static ScriptController.Builder builder()
Deprecated.Description copied from interface:ScriptControllerCreates a newScriptController.Builderusing the internal implementation.- Returns:
- the builder
-
defaultSettings
@Deprecated public static EnvironmentSettings defaultSettings()
Deprecated.
-
newSettingsBuilder
@Deprecated public static EnvironmentSettings.Builder newSettingsBuilder()
Deprecated.
-
getEnvironments
public Collection<ScriptEnvironment> getEnvironments()
Description copied from interface:ScriptControllerGets theScriptEnvironments being processed by the controller- Specified by:
getEnvironmentsin interfaceScriptController- Returns:
- the environments
-
setupNewEnvironment
public ScriptEnvironment setupNewEnvironment(Path loadDirectory, EnvironmentSettings settings)
Description copied from interface:ScriptControllerSets up a newScriptEnvironmentin the given load directory.- Specified by:
setupNewEnvironmentin interfaceScriptController- Parameters:
loadDirectory- the directorysettings- the environment settings- Returns:
- the new environment
-
shutdown
public void shutdown()
Description copied from interface:ScriptControllerShuts down this script controller- Specified by:
shutdownin interfaceScriptController
-
-