Go to console

Task

public interface Task
Known Indirect Subclasses

Represents a Task to be processed

Public Method Summary

abstract Throwable
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