Caplin Trader 5.1.0

Class: module:ct-alerts/workbench/TriggersWorkbenchTool

module:ct-alerts/workbench/TriggersWorkbenchTool()

A workbench tool to be used with components that use module:ct-alerts/TriggerService. This tool provides the following:

  • A means to alter the TriggerService's status (see module:ct-services/ServiceStatus).
  • A form to create new triggers that is auto-populated when the component tries to create a trigger.
  • A list of all triggers currently held by the TriggerService.
  • A means to set the state of existing triggers (see module:ct-alerts/TriggerStates).
  • A means to dispose existing triggers/respond to requests to dispose triggers.