Class CronPatternBuilder

    • Constructor Detail

      • CronPatternBuilder

        public CronPatternBuilder​(Schedule schedule)
        CronPattern
        Parameters:
        schedule - schedule
    • Method Detail

      • build

        public org.quartz.CronScheduleBuilder build()
                                             throws AWException
        Sets the value of each parameter depending on the selected value of 'Repeat type' witch can be: minutes,hours,days,week or years
        Throws:
        AWException - AWE exception
      • repeatEach

        public String repeatEach​(int start,
                                 int repeatEach)
        Returns a String with the pattern to repeat a parameter a number of times with a starting point
        Parameters:
        start - start field of pattern
        repeatEach - repeat field of pattern
        Returns:
        String with the pattern