Class CronPattern
java.lang.Object
com.almis.awe.scheduler.bean.trigger.CronPattern
- All Implemented Interfaces:
Serializable
- Author:
- dfuentes
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBuilds and returns the cron pattern stringrepeatEach
(int repeatEach) Returns a String with the pattern to repeat a parameter a number of timesrepeatEach
(int start, int repeatEach) Returns a String with the pattern to repeat a parameter a number of times with a starting point
-
Constructor Details
-
CronPattern
public CronPattern()
-
-
Method Details
-
repeatEach
Returns a String with the pattern to repeat a parameter a number of times with a starting point- Parameters:
start
- start field of patternrepeatEach
- repeat field of pattern- Returns:
- String with the pattern
-
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
Builds and returns the cron pattern string- Returns:
- String
-