Skip to content

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

SmartphoneTriggerFactory()

Properties

types

Set<Type> get types
override

The TriggerConfiguration runtime types this factory supports.

Methods

create

Create a TriggerExecutor based on trigger. Returns null if trigger is not supported by this factory.

onRegister

void onRegister()
override

Called when this factory is registered in the ExecutorFactory.

Typically used to register the triggers' JSON deserializers.