Class ToolTableComponent

java.lang.Object
ai.mindconnect.adminui.ui.component.ToolTableComponent
All Implemented Interfaces:
UiComponent

public final class ToolTableComponent extends Object implements UiComponent
Tabular view of an agent's tools. Each row has View / Edit / Delete actions targeting /admin/api/agents/{agentId}/tools/{toolId} (the {id} placeholder is substituted by the renderer per row). Header has an "Add Tool" action.
  • Constructor Details

    • ToolTableComponent

      public ToolTableComponent(ai.mindconnect.agent.domain.AgentDefinition agent)
    • ToolTableComponent

      public ToolTableComponent(ai.mindconnect.agent.domain.AgentDefinition agent, UUID selectedToolId)
  • Method Details

    • id

      public String id()
      Description copied from interface: UiComponent
      The DOM id this component renders with. Patch operations targeting this component (REPLACE / CLEAR / REMOVE) use this id, so it must match the id on the root UiNode returned by UiComponent.render().
      Specified by:
      id in interface UiComponent
    • render

      public ai.mindconnect.ui.model.UiTable render()
      Description copied from interface: UiComponent
      Full render — emit the component as a UiNode. Used both inside a page's full render and as the payload of a REPLACE patch.
      Specified by:
      render in interface UiComponent