Record Class McpConnectionInfo
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.ai.McpConnectionInfo
- Record Components:
name- the MCP connection's resource name; matches the values stored onAgentConfig#mcpConnections. Case is preserved as configured.tools- the tools this connection currently advertises. Best-effort: when the connection'slistTools()throws, the inventory reports an empty list for that entry.
Read-only snapshot of one currently-running gateway MCP connection. Used by inventory routes that
feed the user-agent configuration UI — agents reference connections by
name(), and the
picker shows each connection's tool set so users can see what they're attaching.-
Constructor Summary
ConstructorsConstructorDescriptionMcpConnectionInfo(String name, List<McpToolInfo> tools) Creates an instance of aMcpConnectionInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.tools()Returns the value of thetoolsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
-
tools
-