Constructor
new module:ct-alerts /Trigger(properties)
Parameters:
Name | Type | Description |
---|---|---|
properties |
module:ct-core |
The properties of this trigger. It should define 'subject', 'condition' and 'state' properties. |
Methods
get Condition() → {String}
Returns:
The condition that, when met, will cause this trigger to raise a module:ct-alerts/Notification
.
- Type
- String
get State() → {module:ct-alerts /Trigger States}
Returns:
The state that the trigger is currently in.
get Subject() → {String}
Returns:
The subject of the instrument that this trigger is monitoring.
- Type
- String