Package io.jmix.dynmodelai.model
Record Class AgentEventPayload.GraphProgress
java.lang.Object
java.lang.Record
io.jmix.dynmodelai.model.AgentEventPayload.GraphProgress
- All Implemented Interfaces:
AgentEventPayload,AgentHistoryPayload
- Enclosing interface:
AgentEventPayload
public static record AgentEventPayload.GraphProgress(String node, AgentGraphState.Status status, int attempt, long historySequence)
extends Record
implements AgentEventPayload
Live projection of a saved graph observation; raw diagnostics remain in history.
-
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
ConstructorsConstructorDescriptionGraphProgress(String node, AgentGraphState.Status status, int attempt, long historySequence) Creates an instance of aGraphProgressrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintattempt()Returns the value of theattemptrecord 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.node()Returns the value of thenoderecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GraphProgress
Creates an instance of aGraphProgressrecord class.- Parameters:
node- the value for thenoderecord componentstatus- the value for thestatusrecord componentattempt- the value for theattemptrecord 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 '=='. -
node
Returns the value of thenoderecord component.- Returns:
- the value of the
noderecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
attempt
public int attempt()Returns the value of theattemptrecord component.- Returns:
- the value of the
attemptrecord component
-
historySequence
public long historySequence()Returns the value of thehistorySequencerecord component.- Returns:
- the value of the
historySequencerecord component
-