Class AgentFormPage

java.lang.Object
ai.mindconnect.adminui.ui.AdminPage
ai.mindconnect.adminui.ui.page.AgentFormPage

public final class AgentFormPage extends AdminPage
Agent create/edit form. Same page for both modes — the wrapped AgentFormComponent accepts null as the "new agent" marker and switches its defaults and submit target accordingly.

The URL embedded in the UiPage reflects the mode: /admin/agents/new, /admin/agents/{id}/edit, or the copy variant (/admin/agents/{copyId}/edit) when an agent has just been duplicated.

  • Constructor Summary

    Constructors
    Constructor
    Description
    AgentFormPage(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.llm.port.out.LlmConfigRepository llmConfigRepository, ai.mindconnect.agent.port.out.AgentDefinitionRepository agentRepository, ai.mindconnect.common.Namespace defaultNamespace, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ai.mindconnect.ui.model.UiPage
    Render the full page (initial GET, after navigation).

    Methods inherited from class ai.mindconnect.adminui.ui.AdminPage

    patch

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AgentFormPage

      public AgentFormPage(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.llm.port.out.LlmConfigRepository llmConfigRepository, ai.mindconnect.agent.port.out.AgentDefinitionRepository agentRepository, ai.mindconnect.common.Namespace defaultNamespace, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Parameters:
      agent - null for the new-agent form, a populated AgentDefinition for the edit form (including the copy-then-edit flow)
  • Method Details

    • render

      public ai.mindconnect.ui.model.UiPage render()
      Description copied from class: AdminPage
      Render the full page (initial GET, after navigation).
      Specified by:
      render in class AdminPage