public interface IReplEngine extends IScriptEngine
TRACE_SCRIPT_ENGINE
Modifier and Type | Method and Description |
---|---|
java.util.Collection<EaseDebugVariable> |
getDefinedVariables()
Get variables defined on the top level scope of the script engine.
|
EaseDebugVariable |
getLastExecutionResult()
Get the result of the last script execution.
|
boolean |
getTerminateOnIdle()
Get termination condition when engine is idle.
|
ScriptObjectType |
getType(java.lang.Object object)
Get type information on a given script object
|
boolean |
isIdle()
Returns the execution state of the engine.
|
void |
setTerminateOnIdle(boolean terminate)
Set a marker that the interpreter should terminate instead entering IDLE mode.
|
java.lang.String |
toString(java.lang.Object object)
Get the String representation of a script object.
|
addExecutionListener, addSecurityCheck, executeAsync, executeSync, getDescription, getErrorStream, getExecutedFile, getInputStream, getLaunch, getMonitor, getName, getOutputStream, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, registerJar, removeExecutionListener, removeSecurityCheck, schedule, setCloseStreamsOnTerminate, setErrorStream, setInputStream, setOutputStream, setVariable, terminate, terminateCurrent
boolean isIdle()
false
. If the engine is
waiting for further scripts to execute this will return true
.void setTerminateOnIdle(boolean terminate)
terminate
- true
to request terminationboolean getTerminateOnIdle()
true
when engine is terminated when idlejava.util.Collection<EaseDebugVariable> getDefinedVariables()
ScriptObjectType getType(java.lang.Object object)
object
- object to inspectjava.lang.String toString(java.lang.Object object)
object
- script objectEaseDebugVariable getLastExecutionResult()