SmartphoneTriggerFactory class

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

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
types → Set<Type>
The TriggerConfiguration runtime types this factory supports.
no setteroverride

Methods

create(TriggerConfiguration trigger) → TriggerExecutor<TriggerConfiguration>?
Create a TriggerExecutor based on trigger. Returns null if trigger is not supported by this factory.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRegister() → void
Called when this factory is registered in the ExecutorFactory.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited