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, wait
aborted, notified, notifiedFirst, resetWrapperOnDispose
protected ScriptLogger logger
protected short state
public void setScriptLogger(ScriptLogger logger)
setScriptLogger
in interface ScriptExceptionListener
logger
- the script loggerpublic ScriptLogger getScriptLogger()
public short getScriptState()
getScriptState
in interface ScriptExceptionListener
public void resetState()
resetState
in interface ScriptExceptionListener
Copyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence