Record Class McpAegisClient.ToolNames
java.lang.Object
java.lang.Record
com.cockroachlabs.data.continuum.aegis.McpAegisClient.ToolNames
- Enclosing class:
McpAegisClient
public static record McpAegisClient.ToolNames(String findings, String recommendations, String emit)
extends Record
Maps Aegis operations to the tool names an MCP server advertises. The
Continuum MCP tool contract is not pinned here; names differ by server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemit()Returns the value of theemitrecord component.final booleanIndicates whether some other object is "equal to" this one.findings()Returns the value of thefindingsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therecommendationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ToolNames
Creates an instance of aToolNamesrecord class.- Parameters:
findings- the value for thefindingsrecord componentrecommendations- the value for therecommendationsrecord componentemit- the value for theemitrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
findings
Returns the value of thefindingsrecord component.- Returns:
- the value of the
findingsrecord component
-
recommendations
Returns the value of therecommendationsrecord component.- Returns:
- the value of the
recommendationsrecord component
-
emit
Returns the value of theemitrecord component.- Returns:
- the value of the
emitrecord component
-