Interface CronExpressionFactory
-
- All Known Implementing Classes:
QuartzCronExpressionFactory
public interface CronExpressionFactory
A factory to buildCronExpression
instances whose implementation is provided by the scheduling engine used as backend of the Silverpeas Scheduler API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CronExpression
create(String expression)
Creates a CronExpression instance from a String representation of a cron expression.
-
-
-
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.
-
-