public class ScheduleDataBuilder extends Object
IScheduleData.| Modifier and Type | Method and Description |
|---|---|
static IScheduleData |
buildDaily(int hours,
int minutes) |
static IScheduleData |
buildHourly(int hours) |
static IScheduleData |
buildMinutely(int minutes) |
static IScheduleData |
buildMonthly(int dayOfMonth,
int hours,
int minutes,
Integer... months) |
static IScheduleData |
buildWeekly(int hours,
int minutes,
Integer... dayOfWeek) |
public static IScheduleData buildMinutely(int minutes)
public static IScheduleData buildHourly(int hours)
public static IScheduleData buildDaily(int hours, int minutes)
hours - mandatory = yes. allowed values = 0-23minutes - mandatory = yes. allowed values = 0-59IScheduleDatapublic static IScheduleData buildWeekly(int hours, int minutes, Integer... dayOfWeek)
hours - mandatory = yes. allowed values = 0-23minutes - mandatory = yes. allowed values = 0-59dayOfWeek - mandatory = yes. allowed values = 0-6 (0=SUN)IScheduleDatapublic static IScheduleData buildMonthly(int dayOfMonth, int hours, int minutes, Integer... months)
dayOfMonth - mandatory = yes. allowed values = 1-31hours - mandatory = yes. allowed values = 0-23minutes - mandatory = yes. allowed values = 0-59months - mandatory = no. allowed values = 1-12IScheduleDataCopyright © 2019. All rights reserved.