Interface CronExpressionFactory

  • All Known Implementing Classes:
    QuartzCronExpressionFactory

    public interface CronExpressionFactory
    A factory to build CronExpression instances whose implementation is provided by the scheduling engine used as backend of the Silverpeas Scheduler API.
    • Method Detail

      • create

        CronExpression create​(String expression)
                       throws ParseException
        Creates a CronExpression instance from a String representation of a cron expression.
        Parameters:
        expression - a cron expression.
        Returns:
        a CronExpression instance.
        Throws:
        ParseException - if the specified cron expression isn't well formatted.