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

发送以下问题的反馈:

此网页
需要帮助?请访问我们的支持页面