Interface SchedulingPolicy
-
- All Known Implementing Classes:
CronScheduler,DailyScheduling,WeeklyScheduling,WeeklyWithSeveralDaysScheduling
public interface SchedulingPolicy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()longgetScheduledTime(long time)Computes next time for the trigger relative to the time specified in param.
-
-
-
Method Detail
-
getScheduledTime
long getScheduledTime(long time)
Computes next time for the trigger relative to the time specified in param.- Parameters:
time- relative moment in time- Returns:
java timefor next event or-1if there would be no more events
-
getDescription
String getDescription()
-
-