Interface DynamicModelEditorContext
- All Known Implementing Classes:
AgentDynamicModelSettingsView
@NullMarked
public interface DynamicModelEditorContext
The shared Dynamic Model editor as seen by the Builder: the Settings view owns the unsaved model
and its publication, the Builder only reads it and installs a completed AI result.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanreplaceContent(EditorModelSnapshot expected, String content) Installs a complete result only while the editor still matches the request's snapshot.voidsetAiBusy(boolean busy) Keeps manual editing and publication unavailable while a Run is active, including approval.snapshot()Flushes pending Visual edits and captures the complete current model.
-
Method Details
-
snapshot
EditorModelSnapshot snapshot()Flushes pending Visual edits and captures the complete current model. -
replaceContent
Installs a complete result only while the editor still matches the request's snapshot. -
setAiBusy
void setAiBusy(boolean busy) Keeps manual editing and publication unavailable while a Run is active, including approval.
-