- java.lang.Object
-
- aeonics.template.Item<Scheduler.Cron.Type>
-
- aeonics.manager.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".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Scheduler.Cron.Type
-
Constructor Summary
Constructors Constructor Description Cron()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<? extends Scheduler.Cron>
category()
Returns the target entity category.protected java.util.function.Supplier<? extends Scheduler.Cron.Type>
defaultCreator()
Returns the default target entity creator.protected java.lang.Class<? extends Scheduler.Cron.Type>
defaultTarget()
Returns the default target entity type.
-
-
-
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 classItem<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 classItem<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 classItem<Scheduler.Cron.Type>
- Returns:
- the target entity category
-
-