Class ScheduleRecord


  • public class ScheduleRecord
    extends java.lang.Object
    This class describes a single scheduling record, which describes a matching date and time for a job to be started or unblocked. It also describes the throttle rate that should be in effect for the interval. This class is immutable.
    • Constructor Detail

      • ScheduleRecord

        public ScheduleRecord​(EnumeratedValues dayOfWeek,
                              EnumeratedValues monthOfYear,
                              EnumeratedValues dayOfMonth,
                              EnumeratedValues year,
                              EnumeratedValues hourOfDay,
                              EnumeratedValues minutesOfHour,
                              java.lang.String timezone,
                              java.lang.Long duration,
                              boolean requestMinimum)
        Constructor.
        Parameters:
        dayOfWeek - is the day-of-week enumeration.
        monthOfYear - is the month-of-year enumeration.
        dayOfMonth - is the day-of-month enumeration.
        year - is the year enumeration.
        hourOfDay - is the time of day enumeration.
        minutesOfHour - is the minutes enumeration.
        timezone - is the timezone.
        duration - is the window duration, or null if infinite.
    • Method Detail

      • getDayOfWeek

        public EnumeratedValues getDayOfWeek()
        Get the day of week.
        Returns:
        the enumeration or null.
      • getMonthOfYear

        public EnumeratedValues getMonthOfYear()
        Get the month of year.
        Returns:
        the enumeration or null.
      • getDayOfMonth

        public EnumeratedValues getDayOfMonth()
        Get the day of month.
        Returns:
        the enumeration or null.
      • getYear

        public EnumeratedValues getYear()
        Get the year.
        Returns:
        the enumeration or null.
      • getHourOfDay

        public EnumeratedValues getHourOfDay()
        Get the hour of the day.
        Returns:
        the enumeration or null.
      • getMinutesOfHour

        public EnumeratedValues getMinutesOfHour()
        Get the minutes of the hour.
        Returns:
        the enumeration or null.
      • getTimezone

        public java.lang.String getTimezone()
        Get the timezone.
        Returns:
        the timezone or null.
      • getDuration

        public java.lang.Long getDuration()
        Get the window duration.
        Returns:
        the duration or null.
      • getRequestMinimum

        public boolean getRequestMinimum()
        Get whether the schedule record corresponds to a minimal request or not.
        Returns:
        true if minimal request.