public static class GroovyScript.GroovyThread extends Script.ScriptThread
m_Args, m_Owner, m_Stopped| Constructor and Description |
|---|
GroovyThread(Script owner,
java.lang.String[] args)
Initializes the thread.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRun()
Performs the actual run.
|
protected boolean |
hasMethod(java.lang.Object groovy,
java.lang.String name)
Tests whether the groovy object has a certain method.
|
getArgs, getOwner, run, stopScriptactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic GroovyThread(Script owner, java.lang.String[] args)
owner - the owning scriptargs - the commandline argumentsprotected boolean hasMethod(java.lang.Object groovy,
java.lang.String name)
groovy - the Groovy object to inspectname - the method to look forprotected void doRun()
doRun in class Script.ScriptThread