Interface EventStreamHandlerDesignDelegate

All Superinterfaces:
EventStreamDesignDelegate<HandlerEditor>
All Known Implementing Classes:
GatewayEventHandlerDesignDelegate, GatewayMessageHandlerDesignDelegate, HttpHandlerDesignDelegate, LoggerHandlerDesignDelegate, ScriptHandlerDesignDelegate, TagHandlerDesignDelegate

public interface EventStreamHandlerDesignDelegate extends EventStreamDesignDelegate<HandlerEditor>
  • Method Details

    • getEditor

      HandlerEditor getEditor(EventStreamContext context)
      Description copied from interface: EventStreamDesignDelegate

      Supply an Editor to handle configuration viewing and edits. A new editor should be issued each time this method is called.

      An editor with a script (or other prompt-driven) surface can ground an "Ask AI" assist by implementing EventStreamAiHandler: the host then hands it the grounding for the stage the editor sits at — the shape of the events it observes, and on-demand sample tools that fetch a real one. Editors with no such surface simply do not implement it.

      Specified by:
      getEditor in interface EventStreamDesignDelegate<HandlerEditor>