public static class SimpleCLIPanel.ClassRunner extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ClassRunner(SimpleCLIPanel owner,
Class<?> theClass,
String[] commandArgs)
Sets up the class runner thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Starts running the main method.
|
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, yieldpublic ClassRunner(SimpleCLIPanel owner, Class<?> theClass, String[] commandArgs) throws Exception
theClass - the Class to call the main method ofcommandArgs - an array of Strings to use as command line argsException - if an error occursCopyright © 2020 University of Waikato, Hamilton, NZ. All rights reserved.