Package | Description |
---|---|
org.scripthelper.context |
Contains the classes whihc manage the context for scripts.
|
org.scripthelper.debug |
The debug package.
|
org.scripthelper.exceptions |
Contains the classes which wrap script exceptions.
|
org.scripthelper.groovy |
Contains the classes which implements the Groovy scripts.
|
org.scripthelper.js |
Contains the classes which implements the Javascript scripts.
|
org.scripthelper.model |
Contains the classes which model the scripts and their methods.
|
org.scripthelper.python |
Contains the classes which implements the Python scripts.
|
org.scripthelper.ruby |
Contains the classes which implements the Ruby scripts.
|
org.scripthelper.swing.debug |
Contains the Swing helper classes for the debugging framework.
|
Modifier and Type | Method and Description |
---|---|
ScriptWrapper<?> |
DefaultScriptContext.getScriptWrapper()
Return the script wrapper.
|
default ScriptWrapper<?> |
ScriptContext.getScriptWrapper()
Return the script wrapper.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultScriptContext.setScriptWrapper(ScriptWrapper<?> wrapper)
Set the script wrapper.
|
default void |
ScriptContext.setScriptWrapper(ScriptWrapper<?> wrapper)
Set the script wrapper.
|
Modifier and Type | Method and Description |
---|---|
ScriptWrapper<S> |
DebugSession.getScriptWrapper()
Return the script wrapper.
|
Modifier and Type | Method and Description |
---|---|
default void |
DebugListener.installScript(ScriptSource source,
ScriptWrapper wrapper)
Called when a script is installed.
|
Modifier and Type | Field and Description |
---|---|
protected ScriptWrapper<S> |
AbstractScriptException.script
The script wrapper.
|
Modifier and Type | Method and Description |
---|---|
ScriptWrapper<S> |
AbstractScriptException.getScript()
Return the script wrapper.
|
ScriptWrapper<S> |
ScriptException.getScript()
Return the script wrapper.
|
ScriptWrapper<?> |
IllegalScriptArgumentException.getScriptWrapper() |
ScriptWrapper<?> |
ScriptCompilationException.getScriptWrapper()
Return the ScriptWrapper from which the exception originates.
|
ScriptWrapper<?> |
ScriptRuntimeException.getScriptWrapper()
Return the ScriptWrapper from which the exception originates.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractScriptException.setScript(ScriptWrapper<S> script)
Set the script wrapper.
|
void |
ScriptException.setScript(ScriptWrapper<S> script)
Set the script wrapper.
|
Constructor and Description |
---|
AbstractScriptException(ScriptWrapper<S> script,
short exceptionType,
java.lang.Throwable throwable,
java.lang.String message,
int lineNumber)
Constructor.
|
IllegalScriptArgumentException(ScriptWrapper<?> script)
Constructor.
|
IllegalScriptArgumentException(ScriptWrapper<?> script,
java.lang.String s)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
GroovyScriptWrapper<S>
The Groovy Script wrapper.
|
Modifier and Type | Method and Description |
---|---|
static int |
GroovyExceptionsUtils.getLineNumber(ScriptWrapper<?> script,
java.lang.Throwable e)
Return the line number for which a Script Exception originates.
|
Constructor and Description |
---|
GroovyScriptException(ScriptWrapper<S> script,
short exceptionType,
java.lang.Throwable throwable,
java.lang.String message,
int lineNumber) |
Modifier and Type | Class and Description |
---|---|
class |
JSScriptWrapper<S>
The Javascript Script wrapper.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractJSScriptable.addExternalFunction(CachedMethodKey key,
java.lang.String methodName,
ScriptWrapper wrapper)
Add an external function.
|
default boolean |
JSScriptable.addExternalFunction(CachedMethodKey key,
java.lang.String methodName,
ScriptWrapper wrapper)
Add an external function.
|
Constructor and Description |
---|
JSScriptException(ScriptWrapper<S> script,
short exceptionType,
java.lang.Throwable throwable,
java.lang.String message,
int lineNumber) |
Modifier and Type | Interface and Description |
---|---|
interface |
DebuggingWrapper<S>
The interface for debugging wrappers.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDebuggingScriptWrapper<S>
An abstract debugging sxript xrapper implementation.
|
class |
AbstractScriptWrapper<S>
The ScriptWrapper class.
|
class |
ScriptWrapperCombiner
A Script wrapper which can represent several script wrappers depending on the script file.
|
Modifier and Type | Field and Description |
---|---|
protected ScriptWrapper<S> |
AbstractMethodProxy.wrapper
The ScriptWrapper.
|
Modifier and Type | Method and Description |
---|---|
ScriptWrapper<?> |
ScriptWrapperCombiner.findAndInstallScript(java.io.File file)
Create the script, using the current context ClassLoader.
|
ScriptWrapper<?> |
ScriptWrapperCombiner.findAndInstallScript(java.io.File file,
java.lang.ClassLoader loader)
Create the script.
|
ScriptWrapper<?> |
ScriptWrapperCombiner.findAndInstallScript(ScriptSource source,
java.lang.ClassLoader loader)
Create the script.
|
ScriptWrapper<?> |
ScriptWrapperCombiner.findAndInstallScript(java.lang.String content,
java.lang.ClassLoader loader)
Create the script.
|
ScriptWrapper<?> |
ScriptWrapperCombiner.findAndInstallScript(java.net.URL url)
Create the script, using the current context ClassLoader.
|
ScriptWrapper<S> |
AbstractMethodProxy.getScriptWrapper() |
ScriptWrapper<S> |
ScriptMethodProxy.getScriptWrapper()
Return the ScriptWrapper.
|
ScriptWrapper<?> |
ScriptWrapperCombiner.getScriptWrapper()
Return the currently used script wrapper.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ScriptWrapperCombiner.addScriptWrapper(ScriptWrapper<?> wrapper)
Add a script wrapper to the list of scripts to use.
|
Constructor and Description |
---|
AbstractMethodProxy(ScriptWrapper<S> wrapper) |
AbstractScriptMethodProxy(ScriptWrapper<S> wrapper) |
AbstractVoidScriptMethodProxy(ScriptWrapper<S> wrapper) |
DefaultLineNumberConverter(ScriptWrapper<?> wrapper) |
ScriptProxy(ScriptWrapper<S> wrapper)
Constructor.
|
ScriptProxy(ScriptWrapper<S> wrapper,
S script)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
PythonScriptWrapper<S>
The Python Script wrapper.
|
Constructor and Description |
---|
PythonScriptException(ScriptWrapper<S> script,
short exceptionType,
java.lang.Throwable throwable,
java.lang.String message,
int lineNumber) |
Modifier and Type | Class and Description |
---|---|
class |
RubyScriptWrapper<S>
The Ruby Script wrapper.
|
Constructor and Description |
---|
RubyScriptException(ScriptWrapper<S> script,
short exceptionType,
java.lang.Throwable throwable,
java.lang.String message,
int lineNumber) |
Modifier and Type | Method and Description |
---|---|
void |
SwingDebugScriptWindow.installScript(ScriptSource source,
ScriptWrapper wrapper)
Called when a script is installed.
|
Copyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence