- All Implemented Interfaces:
public abstract class ExecutorTask
- extends Task
A task object that represents an asynchronously
running execution task.
Module authors do not typically need to subclass this.
|Fields inherited from class org.openide.util.Task
protected ExecutorTask(Runnable run)
- Create the task.
run - runnable to run that computes the task
public abstract void stop()
- Stop the computation.
public abstract int result()
- Check the result of execution. If the execution
is not finished, the calling thread is blocked until it is.
- the result of execution. Zero means successful execution; other numbers may indicate various error conditions.
public abstract InputOutput getInputOutput()
- InputOutput assigned to this process