java.lang.Object
com.olziedev.playerauctions.api.scheduler.wrapped.task.FutureTask
All Implemented Interfaces:
PluginTask

public class FutureTask extends Object implements PluginTask
  • Constructor Details

    • FutureTask

      public FutureTask()
  • Method Details

    • cancel

      public void cancel()
      Description copied from interface: PluginTask
      Cancels the task.
      Specified by:
      cancel in interface PluginTask
    • isCancelled

      public boolean isCancelled()
      Description copied from interface: PluginTask
      Checks if the task is cancelled.
      Specified by:
      isCancelled in interface PluginTask
      Returns:
      if the task is cancelled.
    • setTask

      public void setTask(Future<?> task)
      Modifies the task to be cancelled.
      Parameters:
      task - the task to set