Module agentforge4j.testkit
Record Class GateResponse.Escalation
java.lang.Object
java.lang.Record
com.agentforge4j.testkit.scenario.GateResponse.Escalation
- Record Components:
note- approver note recorded on the event; may be blank
- All Implemented Interfaces:
GateResponse
- Enclosing interface:
- GateResponse
An approval note for an
AWAITING_APPROVAL pause raised by an ESCALATE command.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.agentforge4j.testkit.scenario.GateResponse
GateResponse.Escalation, GateResponse.Input, GateResponse.Review, GateResponse.StepApproval, GateResponse.ToolApproval, GateResponse.ToolDecision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.note()Returns the value of thenoterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Escalation
Creates an instance of aEscalationrecord class.- Parameters:
note- the value for thenoterecord 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). -
note
Returns the value of thenoterecord component.- Returns:
- the value of the
noterecord component
-