Record Class McpActionRecord
java.lang.Object
java.lang.Record
com.shaft.mcp.McpActionRecord
- Record Components:
id- stable action identifiertitle- short titlecategory- diagnosis or workflow categoryaction- human-readable actionevidenceIds- cited evidence identifierscodeBlockIds- related code block identifiersstatus- action status
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMcpActionRecord(String id, String title, String category, String action, List<String> evidenceIds, List<String> codeBlockIds, McpActionRecord.Status status) Creates an immutable action record. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.category()Returns the value of thecategoryrecord component.Returns the value of thecodeBlockIdsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevidenceIdsrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.status()Returns the value of thestatusrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpActionRecord
-
-
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). -
id
-
title
-
category
-
action
-
evidenceIds
Returns the value of theevidenceIdsrecord component.- Returns:
- the value of the
evidenceIdsrecord component
-
codeBlockIds
Returns the value of thecodeBlockIdsrecord component.- Returns:
- the value of the
codeBlockIdsrecord component
-
status
-