SmartphoneTriggerFactory
The TriggerFactory for all triggers that come with CAMS.
Registered in the ExecutorFactory by default. ScheduledTrigger is not supported yet; create returns null for it.
- Implemented types
Constructors
SmartphoneTriggerFactory
Properties
types
The TriggerConfiguration runtime types this factory supports.
Methods
create
- TriggerConfiguration trigger
override
Create a TriggerExecutor based on trigger. Returns null if trigger is not supported by this factory.
onRegister
override
Called when this factory is registered in the ExecutorFactory.
Typically used to register the triggers' JSON deserializers.