All Known Implementing Classes:
FutureTask

public interface PluginTask
Represents a task that can be cancelled.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancels the task.
    boolean
    Checks if the task is cancelled.
  • Method Details

    • cancel

      void cancel()
      Cancels the task.
    • isCancelled

      boolean isCancelled()
      Checks if the task is cancelled.
      Returns:
      if the task is cancelled.