public interface Schedule
This is returned when task is scheduled using
ThreadService.schedule(ScheduledTask)
or
ThreadService.schedule(String, String, RunnableTask)
.
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancel the schedule.
|
String |
getFrequency()
Returns the scheduled frequency pattern.
|
String |
getName()
Returns the scheduled task name.
|
String getName()
String getFrequency()
ThreadService.schedule(String, String, RunnableTask)
).boolean cancel()
If the schedule represents a currently scheduled task then this will remove it from the schedule.
Copyright © 2016 Push Technology Ltd. All Rights Reserved.