public interface ScriptBuilder
| Modifier and Type | Method and Description |
|---|---|
org.scripthelper.model.ScriptWrapper<?> |
createScriptWrapper()
Create a ScriptWrapper.
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Set the classLoader to use to load the script classes.
|
void |
setContext(org.scripthelper.context.ScriptContext context)
Set the script context.
|
default void |
setScriptable(org.scripthelper.js.JSScriptable jsscriptable)
Set the JSScriptable.
|
void |
setScriptExceptionListener(org.scripthelper.exceptions.ScriptExceptionListener exceptionListener)
Set the script exception listener.
|
void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - the classLoaderdefault void setScriptable(org.scripthelper.js.JSScriptable jsscriptable)
jsscriptable - the JSScriptableorg.scripthelper.model.ScriptWrapper<?> createScriptWrapper()
void setContext(org.scripthelper.context.ScriptContext context)
context - the script contextvoid setScriptExceptionListener(org.scripthelper.exceptions.ScriptExceptionListener exceptionListener)
exceptionListener - the script exception listenerCopyright © 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence