Class QuartzCronExpression
- java.lang.Object
-
- org.silverpeas.core.scheduler.quartz.QuartzCronExpression
-
- All Implemented Interfaces:
CronExpression
public class QuartzCronExpression extends Object implements CronExpression
Implementation of the CronExpression interface for the Quartz scheduling engine. It wraps the cron expression as used in Quartz.
-
-
Constructor Summary
Constructors Constructor Description QuartzCronExpression(String expression)
Constructs a new QuartzCronExpression from a textual representation of a cron expression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.quartz.CronExpression
getExpression()
Gets a given representation of this cron expression.
-
-
-
Constructor Detail
-
QuartzCronExpression
public QuartzCronExpression(String expression) throws ParseException
Constructs a new QuartzCronExpression from a textual representation of a cron expression.- Parameters:
expression
- a textual representation of a cron expression.- Throws:
ParseException
-
-
Method Detail
-
getExpression
public org.quartz.CronExpression getExpression()
Gets a given representation of this cron expression.- Specified by:
getExpression
in interfaceCronExpression
- Returns:
- this cron expression as an instance of type T.
-
-