Class UnixCronTrigger
java.lang.Object
org.bonitasoft.engine.scheduler.trigger.OneShotTrigger
org.bonitasoft.engine.scheduler.trigger.UnixCronTrigger
- All Implemented Interfaces:
CronTrigger,Trigger
- Author:
- Matthieu Chaffotte
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bonitasoft.engine.scheduler.trigger.Trigger
Trigger.MisfireRestartPolicy -
Constructor Summary
ConstructorsConstructorDescriptionUnixCronTrigger(String name, Date startDate, String expression) UnixCronTrigger(String name, Date startDate, String expression, Trigger.MisfireRestartPolicy misfireHandlingPolicy) -
Method Summary
Modifier and TypeMethodDescriptionReturns when the trigger ends.Returns the expression as a unix-like cron expressions "* * * * * ?" 1.Methods inherited from class org.bonitasoft.engine.scheduler.trigger.OneShotTrigger
getMisfireHandlingPolicy, getName, getPriority, getStartDateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bonitasoft.engine.scheduler.trigger.Trigger
getMisfireHandlingPolicy, getName, getPriority, getStartDate
-
Constructor Details
-
UnixCronTrigger
-
UnixCronTrigger
public UnixCronTrigger(String name, Date startDate, String expression, Trigger.MisfireRestartPolicy misfireHandlingPolicy)
-
-
Method Details
-
getExpression
Description copied from interface:CronTriggerReturns the expression as a unix-like cron expressions "* * * * * ?" 1. seconds 2. minutes 3. hours 4. day of the month 5. month 6 day of the week 7 year (optional)- Specified by:
getExpressionin interfaceCronTrigger- Returns:
- a unix-like CRON expression
-
getEndDate
Description copied from interface:CronTriggerReturns when the trigger ends. It can be null which means that the trigger never ends- Specified by:
getEndDatein interfaceCronTrigger- Returns:
-