Class UnixCronTrigger

java.lang.Object
org.bonitasoft.engine.scheduler.trigger.OneShotTrigger
org.bonitasoft.engine.scheduler.trigger.UnixCronTrigger
All Implemented Interfaces:
CronTrigger, Trigger

public class UnixCronTrigger extends OneShotTrigger implements CronTrigger
Author:
Matthieu Chaffotte
  • Constructor Details

  • Method Details

    • getExpression

      public String getExpression()
      Description copied from interface: CronTrigger
      Returns 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:
      getExpression in interface CronTrigger
      Returns:
      a unix-like CRON expression
    • getEndDate

      public Date getEndDate()
      Description copied from interface: CronTrigger
      Returns when the trigger ends. It can be null which means that the trigger never ends
      Specified by:
      getEndDate in interface CronTrigger
      Returns: