public abstract static class Script.ScriptThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
Script.ScriptThread(Script owner,
String[] args)
Initializes the thread.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getArgs()
Returns the commandline args.
|
Script |
getOwner()
Returns the owner.
|
void |
run()
Executes the script.
|
void |
stopScript()
Stops the script execution.
|
activeCount, checkAccess, 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, yield
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.