public class CronTrigger extends Object implements Trigger, org.quartz.Job
Trigger which will trigger events based on a cron expression.| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOG |
| Constructor and Description |
|---|
CronTrigger() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.quartz.JobExecutionContext jobExecutionContext) |
String |
getId() |
org.wso2.siddhi.query.api.definition.TriggerDefinition |
getTriggerDefinition() |
void |
init(org.wso2.siddhi.query.api.definition.TriggerDefinition triggerDefinition,
SiddhiAppContext siddhiAppContext,
StreamJunction streamJunction) |
void |
start()
This will be called only once and this can be used to acquire
required resources for the processing element.
|
void |
stop()
This will be called only once and this can be used to release
the acquired resources for processing.
|
public void init(org.wso2.siddhi.query.api.definition.TriggerDefinition triggerDefinition,
SiddhiAppContext siddhiAppContext,
StreamJunction streamJunction)
public org.wso2.siddhi.query.api.definition.TriggerDefinition getTriggerDefinition()
getTriggerDefinition in interface Triggerpublic void start()
start in interface EternalReferencedHolderpublic void stop()
stop in interface EternalReferencedHolderpublic void execute(org.quartz.JobExecutionContext jobExecutionContext)
throws org.quartz.JobExecutionException
execute in interface org.quartz.Joborg.quartz.JobExecutionExceptionCopyright © 2019 WSO2. All rights reserved.