public interface ScheduledAction
Represents an action that can be scheduled for execution.
-
Method Summary
Returns the unique identifier for this scheduled action.
Returns the time between executions.
void
Executes the scheduled action's logic.
-
Method Details
-
id
Returns the unique identifier for this scheduled action.
- Returns:
- the action's unique id
-
interval
Returns the time between executions.
- Returns:
- the interval duration
-
run
void run()
Executes the scheduled action's logic.