Package io.jmix.dynmodelai.draft
Class RunWorkspace
java.lang.Object
io.jmix.dynmodelai.draft.RunWorkspace
Mutable working copy owned by one agent run. It is never exposed to the UI and never reused by
another run. Only its Conversation command queue reads or mutates it. A completed run produces the Conversation's immutable
ModelDraft.-
Constructor Summary
ConstructorsConstructorDescriptionRunWorkspace(UUID conversationId, UUID runId, AgentPlan plan, @Nullable UUID baselineSettingsId, String baselineContent, DynamicModelDefinition definition) RunWorkspace(UUID conversationId, UUID runId, AgentPlan plan, @Nullable UUID baselineSettingsId, String baselineContent, DynamicModelDefinition definition, String sourceContent, List<String> validationEntityNames) -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidapplyChange(DynamicModelDefinition newDefinition) voidclose()@Nullable UUIDgetPlan()@Nullable DynamicAttributeDefinitiongetPreviousAttribute(String entityName, String name) getRunId()Complete input YAML used as the serialization template, including non-model root settings.booleanisOpen()
-
Constructor Details
-
RunWorkspace
-
RunWorkspace
-
-
Method Details
-
getConversationId
-
getRunId
-
getPlan
-
getEntityNames
-
getBaselineSettingsId
-
getBaselineContent
-
getSourceContent
Complete input YAML used as the serialization template, including non-model root settings. -
getDefinition
-
applyChange
-
getPreviousAttribute
-
close
public void close() -
abort
public void abort() -
isOpen
public boolean isOpen()
-