Class RecurrencePattern


  • public final class RecurrencePattern
    extends Object
    Recurrence schedule pattern definition.
    • Constructor Detail

      • RecurrencePattern

        public RecurrencePattern()
    • Method Detail

      • hours

        public List<Integer> hours()
        Get the hours property: [Required] List of hours for recurrence schedule pattern.
        Returns:
        the hours value.
      • withHours

        public RecurrencePattern withHours​(List<Integer> hours)
        Set the hours property: [Required] List of hours for recurrence schedule pattern.
        Parameters:
        hours - the hours value to set.
        Returns:
        the RecurrencePattern object itself.
      • minutes

        public List<Integer> minutes()
        Get the minutes property: [Required] List of minutes for recurrence schedule pattern.
        Returns:
        the minutes value.
      • withMinutes

        public RecurrencePattern withMinutes​(List<Integer> minutes)
        Set the minutes property: [Required] List of minutes for recurrence schedule pattern.
        Parameters:
        minutes - the minutes value to set.
        Returns:
        the RecurrencePattern object itself.
      • weekdays

        public List<Weekday> weekdays()
        Get the weekdays property: List of weekdays for recurrence schedule pattern.
        Returns:
        the weekdays value.
      • withWeekdays

        public RecurrencePattern withWeekdays​(List<Weekday> weekdays)
        Set the weekdays property: List of weekdays for recurrence schedule pattern.
        Parameters:
        weekdays - the weekdays value to set.
        Returns:
        the RecurrencePattern object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.