Class CronPattern

java.lang.Object
com.almis.awe.scheduler.bean.trigger.CronPattern
All Implemented Interfaces:
Serializable

public class CronPattern extends Object implements Serializable
Author:
dfuentes
See Also:
  • Constructor Details

    • CronPattern

      public CronPattern()
  • Method Details

    • 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