public interface
Task
Known Indirect Subclasses
PriorityAsyncTask<Params, Progress, Result>,
PriorityCallable<V>,
PriorityFutureTask<V>,
PriorityRunnable,
PriorityTask
|
Represents a Task to be processed
Public Method Summary
abstract Throwable |
getError()
|
abstract boolean | |
abstract void |
setError(Throwable throwable)
|
abstract void |
setFinished(boolean finished)
Marks Task as finished
|
Public Methods
public abstract Throwable getError ()
Returns
- Error during completion of Task
public abstract boolean isFinished ()
Returns
- true if Task is finished
public abstract void setError (Throwable throwable)
Parameters
throwable | set during error condition |
public abstract void setFinished (boolean finished)
Marks Task as finished
Parameters
finished |