Package io.jmix.dynmodelai.model
Record Class AgentObservation.PlanValidationCompleted
java.lang.Object
java.lang.Record
io.jmix.dynmodelai.model.AgentObservation.PlanValidationCompleted
- All Implemented Interfaces:
AgentHistoryPayload,AgentObservation
- Enclosing interface:
AgentObservation
public static record AgentObservation.PlanValidationCompleted(int attempt, String status, String message, @Nullable String detail)
extends Record
implements AgentObservation
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.dynmodelai.model.AgentObservation
AgentObservation.ContextCompacted, AgentObservation.ContextCompactionFailed, AgentObservation.GraphStateChanged, AgentObservation.ModelResponseReceived, AgentObservation.ModelSelected, AgentObservation.PlanValidationCompleted, AgentObservation.ReferenceToolCompleted, AgentObservation.ReferenceToolStarted -
Constructor Summary
ConstructorsConstructorDescriptionPlanValidationCompleted(int attempt, String status, String message, @Nullable String detail) Creates an instance of aPlanValidationCompletedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintattempt()Returns the value of theattemptrecord component.@Nullable Stringdetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlanValidationCompleted
Creates an instance of aPlanValidationCompletedrecord class.- Parameters:
attempt- the value for theattemptrecord componentstatus- the value for thestatusrecord componentmessage- the value for themessagerecord componentdetail- the value for thedetailrecord 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 '=='. -
attempt
public int attempt()Returns the value of theattemptrecord component.- Returns:
- the value of the
attemptrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
detail
Returns the value of thedetailrecord component.- Returns:
- the value of the
detailrecord component
-