Class QuartzCronExpressionFactory
- java.lang.Object
-
- org.silverpeas.core.scheduler.quartz.QuartzCronExpressionFactory
-
- All Implemented Interfaces:
CronExpressionFactory
@Technical @Provider public class QuartzCronExpressionFactory extends Object implements CronExpressionFactory
Implementation of the CronExpressionFactory for the Quartz engine.
-
-
Constructor Summary
Constructors Constructor Description QuartzCronExpressionFactory()
-
Method Summary
All Methods Instance Methods Concrete 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
public CronExpression create(String expression) throws ParseException
Creates a CronExpression instance from a String representation of a cron expression.- Specified by:
create
in interfaceCronExpressionFactory
- Parameters:
expression
- a cron expression.- Returns:
- a CronExpression instance.
- Throws:
ParseException
- if the specified cron expression isn't well formatted.
-
-