Class SchedulerDefinition
java.lang.Object
org.chenile.scheduler.SchedulerDefinition
One schedule: fire
eventId on cronExpression. The same model comes from JSON
files, from code and (with chenile-scheduler-db) from the database.-
Field Summary
FieldsModifier and TypeFieldDescriptionQuartz syntax, with seconds:0 0 2 * * ?is 2 am every day.booleanA disabled definition is kept but not scheduled.The Chenile event to fire.Extra headers for the event.Stable identity; also the Quartz job and trigger key.For people and the console.The event body as JSON text; converted to each subscriber's body type.The tenant the event fires as.The zone the cron expression is read in. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
Stable identity; also the Quartz job and trigger key. -
name
For people and the console. -
cronExpression
Quartz syntax, with seconds:0 0 2 * * ?is 2 am every day. -
timezone
The zone the cron expression is read in. -
eventId
The Chenile event to fire. Operations subscribe to it. -
payload
The event body as JSON text; converted to each subscriber's body type. -
headers
-
tenant
The tenant the event fires as. -
enabled
public boolean enabledA disabled definition is kept but not scheduled. -
description
-
-
Constructor Details
-
SchedulerDefinition
public SchedulerDefinition()
-
CHENILE