Package org.bsc.langgraph4j
Record Class GraphResume
java.lang.Object
java.lang.Record
org.bsc.langgraph4j.GraphResume
- All Implemented Interfaces:
GraphInput
public record GraphResume(Map<String,Object> value, Checkpoint checkpoint)
extends Record
implements GraphInput
-
Constructor Summary
ConstructorsConstructorDescriptionGraphResume(Map<String, Object> value) GraphResume(Map<String, Object> value, Checkpoint checkpoint) Creates an instance of aGraphResumerecord class.GraphResume(Checkpoint checkpoint) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecheckpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
GraphResume
Creates an instance of aGraphResumerecord class.- Parameters:
value- the value for thevaluerecord componentcheckpoint- the value for thecheckpointrecord component
-
GraphResume
public GraphResume() -
GraphResume
-
GraphResume
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
value
Returns the value of thevaluerecord component.- Specified by:
valuein interfaceGraphInput- Returns:
- the value of the
valuerecord component
-
checkpoint
Returns the value of thecheckpointrecord component.- Returns:
- the value of the
checkpointrecord component
-