Interface Scheduler
public interface Scheduler
Represents a scheduler to execute tasks on the proxy.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Represents a fluent interface to schedule tasks on the proxy. -
Method Summary
Modifier and TypeMethodDescriptionInitializes a newScheduler.TaskBuilder
for creating a task on the proxy.
-
Method Details
-
buildTask
Initializes a newScheduler.TaskBuilder
for creating a task on the proxy.- Parameters:
plugin
- the plugin to request the task forrunnable
- the task to run when scheduled- Returns:
- the task builder
-