Package org.spongepowered.api.scheduler
Interface ScheduledTask
- 
- All Superinterfaces:
- Identifiable,- Nameable
 
 public interface ScheduledTask extends Nameable, Identifiable 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancancel()Cancels this scheduled task.booleanisCancelled()Gets whether this scheduled task has been cancelled.Schedulerscheduler()Tasktask()- 
Methods inherited from interface org.spongepowered.api.util.IdentifiableuniqueId
 
- 
 
- 
- 
- 
Method Detail- 
cancelboolean cancel() Cancels this scheduled task. Cancelling a repeating task will prevent any further repetitions of the task.- Returns:
- If the task is not running and was cancelled
 
 - 
isCancelledboolean isCancelled() Gets whether this scheduled task has been cancelled.- Returns:
- True if cancelled, false otherwise
 
 
- 
 
-