Package org.bsc.quarkus
Record Class LangGraphFlow
java.lang.Object
java.lang.Record
org.bsc.quarkus.LangGraphFlow
public record LangGraphFlow(List<LangGraphStreamingServer.ArgumentMetadata> inputArgs, String title, org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver saver, org.bsc.langgraph4j.StateGraph<? extends org.bsc.langgraph4j.state.AgentState> stateGraph)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLangGraphFlow(List<LangGraphStreamingServer.ArgumentMetadata> inputArgs, String title, org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver saver, org.bsc.langgraph4j.StateGraph<? extends org.bsc.langgraph4j.state.AgentState> stateGraph) Creates an instance of aLangGraphFlowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic LangGraphFlow.Builderbuilder()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinputArgsrecord component.org.bsc.langgraph4j.checkpoint.BaseCheckpointSaversaver()Returns the value of thesaverrecord component.org.bsc.langgraph4j.StateGraph<? extends org.bsc.langgraph4j.state.AgentState>Returns the value of thestateGraphrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LangGraphFlow
public LangGraphFlow(List<LangGraphStreamingServer.ArgumentMetadata> inputArgs, String title, org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver saver, org.bsc.langgraph4j.StateGraph<? extends org.bsc.langgraph4j.state.AgentState> stateGraph) Creates an instance of aLangGraphFlowrecord class.- Parameters:
inputArgs- the value for theinputArgsrecord componenttitle- the value for thetitlerecord componentsaver- the value for thesaverrecord componentstateGraph- the value for thestateGraphrecord component
-
-
Method Details
-
builder
-
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). -
inputArgs
Returns the value of theinputArgsrecord component.- Returns:
- the value of the
inputArgsrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
saver
public org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver saver()Returns the value of thesaverrecord component.- Returns:
- the value of the
saverrecord component
-
stateGraph
public org.bsc.langgraph4j.StateGraph<? extends org.bsc.langgraph4j.state.AgentState> stateGraph()Returns the value of thestateGraphrecord component.- Returns:
- the value of the
stateGraphrecord component
-