-
- All Known Implementing Classes:
MatcherSchedule,MultiSchedule
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Schedule
Provides a schedule for a job.- Author:
- AO Industries, Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisScheduled(int minute, int hour, int dayOfMonth, int month, int dayOfWeek, int year)Determine if the job should run right now.
-
-
-
Method Detail
-
isScheduled
boolean isScheduled(int minute, int hour, int dayOfMonth, int month, int dayOfWeek, int year)Determine if the job should run right now.- Parameters:
minute- 0-59hour- 0-23dayOfMonth- 1-31month- 0-11dayOfWeek- 1-7,Calendar.SUNDAYthroughCalendar.SATURDAY
-
-