|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
nl.toolforge.karma.core.cmd.threads.ParallelCommandWrapper
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ParallelCommandWrapper(Command command,
CommandResponseListener listener)
|
|
| Method Summary | |
CommandResponse |
getCommandResponse()
|
CommandException |
getException()
Returns the CommandException when the run-method had thrown one. |
boolean |
isRunning()
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ParallelCommandWrapper(Command command,
CommandResponseListener listener)
| Method Detail |
public CommandResponse getCommandResponse()
public void run()
public boolean isRunning()
public CommandException getException()
CommandException when the run-method had thrown one. This method can thus be
used to check the actual results (if an error occurred).
CommandException or null if no exception was thrown.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||