Package io.siddhi.core.trigger
Interface Trigger
-
- All Known Implementing Classes:
AbstractTrigger,CronTrigger,PeriodicTrigger,StartTrigger
public interface TriggerInterface class to represent event triggers. Event triggers are used to trigger events within Siddhi itself according to a user given criteria.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()io.siddhi.query.api.definition.TriggerDefinitiongetTriggerDefinition()booleanisStateful()voidstart()This will be called only once.voidstop()This will be called only once.
-
-
-
Method Detail
-
start
void start()
This will be called only once. This will be called after initializing the system.
-
stop
void stop()
This will be called only once. This will be called before shutting down the system.
-
getTriggerDefinition
io.siddhi.query.api.definition.TriggerDefinition getTriggerDefinition()
-
getId
String getId()
-
isStateful
boolean isStateful()
-
-