Package io.jmix.dynmodelai.model
Record Class AgentEventPayload.ReferenceProgress
java.lang.Object
java.lang.Record
io.jmix.dynmodelai.model.AgentEventPayload.ReferenceProgress
- All Implemented Interfaces:
AgentEventPayload,AgentHistoryPayload
- Enclosing interface:
AgentEventPayload
public static record AgentEventPayload.ReferenceProgress(UUID callId, String toolName, AgentGraphState.Status status, long historySequence)
extends Record
implements AgentEventPayload
Identifies a saved reference call, without broadcasting its arguments or result.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.dynmodelai.model.AgentEventPayload
AgentEventPayload.DraftReady, AgentEventPayload.GraphProgress, AgentEventPayload.HumanInputRequested, AgentEventPayload.PlanApproved, AgentEventPayload.PlanningRepairStarted, AgentEventPayload.PlanningStarted, AgentEventPayload.PlanProposed, AgentEventPayload.ReferenceProgress, AgentEventPayload.RunCompleted, AgentEventPayload.RunStarted, AgentEventPayload.StepCompleted, AgentEventPayload.StepStarted, AgentEventPayload.VerificationStarted -
Constructor Summary
ConstructorsConstructorDescriptionReferenceProgress(UUID callId, String toolName, AgentGraphState.Status status, long historySequence) Creates an instance of aReferenceProgressrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncallId()Returns the value of thecallIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thehistorySequencerecord component.status()Returns the value of thestatusrecord component.toolName()Returns the value of thetoolNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReferenceProgress
public ReferenceProgress(UUID callId, String toolName, AgentGraphState.Status status, long historySequence) Creates an instance of aReferenceProgressrecord class.- Parameters:
callId- the value for thecallIdrecord componenttoolName- the value for thetoolNamerecord componentstatus- the value for thestatusrecord componenthistorySequence- the value for thehistorySequencerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
callId
Returns the value of thecallIdrecord component.- Returns:
- the value of the
callIdrecord component
-
toolName
Returns the value of thetoolNamerecord component.- Returns:
- the value of the
toolNamerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
historySequence
public long historySequence()Returns the value of thehistorySequencerecord component.- Returns:
- the value of the
historySequencerecord component
-