Package org.bsc.langgraph4j.state
Class StateSnapshot<State extends AgentState>
java.lang.Object
org.bsc.langgraph4j.NodeOutput<State>
org.bsc.langgraph4j.state.StateSnapshot<State>
- All Implemented Interfaces:
HasMetadata,SnapshotOutput
public final class StateSnapshot<State extends AgentState>
extends NodeOutput<State>
implements SnapshotOutput
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bsc.langgraph4j.HasMetadata
HasMetadata.Builder<B extends HasMetadata.Builder<B>> -
Field Summary
Fields inherited from class org.bsc.langgraph4j.NodeOutput
metadataSupplier -
Method Summary
Modifier and TypeMethodDescriptionconfig()next()static <State extends AgentState>
StateSnapshot<State> of(Checkpoint checkpoint, RunnableConfig config, AgentStateFactory<State> factory) toString()Methods inherited from class org.bsc.langgraph4j.NodeOutput
isEND, isSTART, metadata, metadataKeys, node, of, stateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bsc.langgraph4j.HasMetadata
metadata
-
Method Details
-
of
public static <State extends AgentState> StateSnapshot<State> of(Checkpoint checkpoint, RunnableConfig config, AgentStateFactory<State> factory) -
next
- Specified by:
nextin interfaceSnapshotOutput
-
config
- Specified by:
configin interfaceSnapshotOutput
-
toString
- Overrides:
toStringin classNodeOutput<State extends AgentState>
-