Class CronPatternBuilder
java.lang.Object
com.almis.awe.scheduler.builder.cron.CronPatternBuilder
- All Implemented Interfaces:
Serializable
- Author:
- dfuentes
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.quartz.CronScheduleBuilder
build()
Sets the value of each parameter depending on the selected value of 'Repeat type' witch can be: minutes,hours,days,week or yearsrepeatEach
(int start, int repeatEach) Returns a String with the pattern to repeat a parameter a number of times with a starting point
-
Constructor Details
-
CronPatternBuilder
CronPattern- Parameters:
schedule
- schedule
-
-
Method Details
-
build
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
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
-