public abstract class AbstractScriptExceptionListener extends java.lang.Object implements ScriptExceptionListener
| Modifier and Type | Field and Description |
|---|---|
protected ScriptLogger |
logger
The ScriptLogger.
|
protected short |
state
The state of the listener since the last execution.
|
STATE_ABORTED, STATE_ERROR, STATE_OK| Constructor and Description |
|---|
AbstractScriptExceptionListener() |
| Modifier and Type | Method and Description |
|---|---|
ScriptLogger |
getScriptLogger()
Return the script logger.
|
short |
getScriptState()
Return the state of the listener since the last execution.
|
void |
resetState()
Reset the state of the listener.
|
void |
setScriptLogger(ScriptLogger logger)
Set the script logger.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaborted, notified, notifiedFirst, resetWrapperOnDisposeprotected ScriptLogger logger
protected short state
public void setScriptLogger(ScriptLogger logger)
setScriptLogger in interface ScriptExceptionListenerlogger - the script loggerpublic ScriptLogger getScriptLogger()
public short getScriptState()
getScriptState in interface ScriptExceptionListenerpublic void resetState()
resetState in interface ScriptExceptionListenerCopyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence