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 String
getDescription()
long
getScheduledTime(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 time
for next event or-1
if there would be no more events
-
getDescription
String getDescription()
-
-