Module aeonics.core

Class Scheduler.Cron

  • Enclosing class:
    Scheduler

    public abstract static class Scheduler.Cron
    extends Item<Scheduler.Cron.Type>
    A task that should be executed at regular interval. The recurrence is defined by a RFC-5545 compliant "RRULE" and "DTSART".
    • Constructor Detail

      • Cron

        public Cron()
    • Method Detail

      • defaultTarget

        protected java.lang.Class<? extends Scheduler.Cron.Type> defaultTarget()
        Description copied from class: Item
        Returns the default target entity type. This method should be implemented by subclasses to specify the target entity type.
        Specified by:
        defaultTarget in class Item<Scheduler.Cron.Type>
        Returns:
        the default target entity type
      • defaultCreator

        protected java.util.function.Supplier<? extends Scheduler.Cron.Type> defaultCreator()
        Description copied from class: Item
        Returns the default target entity creator. This method should be implemented by subclasses to specify the entity creator.
        Specified by:
        defaultCreator in class Item<Scheduler.Cron.Type>
        Returns:
        the default target entity creator
      • category

        protected java.lang.Class<? extends Scheduler.Cron> category()
        Description copied from class: Item
        Returns the target entity category. This method should be implemented by subclasses to specify the entity category.
        Specified by:
        category in class Item<Scheduler.Cron.Type>
        Returns:
        the target entity category