Interface EventStreamDesignDelegate<T extends EventStreamEditor>
- All Known Subinterfaces:
EventStreamHandlerDesignDelegate, EventStreamSourceDesignDelegate
- All Known Implementing Classes:
EventListenerSourceDesignDelegate, GatewayEventHandlerDesignDelegate, GatewayMessageHandlerDesignDelegate, HttpHandlerDesignDelegate, LoggerHandlerDesignDelegate, ScriptHandlerDesignDelegate, TagEventSourceDesignDelegate, TagHandlerDesignDelegate
public interface EventStreamDesignDelegate<T extends EventStreamEditor>
What every design-time delegate registered against a source / handler type has in common: its
type key, and the editor it builds for that type.
T names the editor type the family
produces, which is what lets DesignerEventStreamRegistry tie a delegate to its matching
EventStreamDesignDelegateInfo; the sub-interfaces narrow the return type to their own
editor.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetEditor(EventStreamContext context) Supply an Editor to handle configuration viewing and edits.getType()
-
Method Details
-
getType
String getType() -
getEditor
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.
-