Record Class ReplanPolicy.FailStop
java.lang.Object
java.lang.Record
com.google.adk.planner.goap.ReplanPolicy.FailStop
- All Implemented Interfaces:
ReplanPolicy
- Enclosing interface:
ReplanPolicy
Stop immediately on failure with an error message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ReplanPolicy
ReplanPolicy.FailStop, ReplanPolicy.Ignore, ReplanPolicy.ReplanModifier and TypeInterfaceDescriptionstatic final recordStop immediately on failure with an error message.static final recordIgnore failures and proceed with the remaining plan as-is.static final recordAttempt to recompute the remaining plan from current world state. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FailStop
public FailStop()Creates an instance of aFailStoprecord class.
-
-
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.
-