Class 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 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 interface CronExpression
        Returns:
        this cron expression as an instance of type T.