Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Task(System parent,
TaskInfo taskinfo,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
failed(String msg) |
System |
getParent() |
Process |
getProcess() |
TaskInfo |
getTaskinfo() |
long |
getTime() |
void |
interrupt() |
boolean |
isDone() |
boolean |
isExecuted() |
void |
run() |
void |
successPart1(String msg) |
void |
successPart2(boolean wait) |
int |
waitFor(String[] runCmd,
String path) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void successPart1(String msg)
public void successPart2(boolean wait)
throws InterruptedException
InterruptedExceptionpublic void failed(String msg) throws InterruptedException
InterruptedExceptionpublic System getParent()
public TaskInfo getTaskinfo()
public long getTime()
public Process getProcess()
public boolean isExecuted()
public boolean isDone()
Copyright © 2019. All rights reserved.