Class CronPattern

    • Constructor Detail

      • CronPattern

        public CronPattern()
    • Method Detail

      • 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
      • repeatEach

        public String repeatEach​(int repeatEach)
        Returns a String with the pattern to repeat a parameter a number of times
        Parameters:
        repeatEach - repeat field of pattern
        Returns:
        String with the pattern
      • buildCronString

        public String buildCronString()
        Builds and returns the cron pattern string
        Returns:
        String