Modifier | Constructor and Description |
---|---|
protected |
ExecutorTask(Runnable run)
Create the task.
|
Modifier and Type | Method and Description |
---|---|
abstract InputOutput |
getInputOutput() |
abstract int |
result()
Check the result of execution.
|
abstract void |
stop()
Stop the computation.
|
addTaskListener, isFinished, notifyFinished, notifyRunning, removeTaskListener, run, toString, waitFinished, waitFinished
protected ExecutorTask(Runnable run)
run
- runnable to run that computes the taskpublic abstract void stop()
public abstract int result()
public abstract InputOutput getInputOutput()