Record Class QuarkusToolExecutor.Context
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
- Enclosing class:
- QuarkusToolExecutor
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theargumentMapperClassNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionModelrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themethodNamerecord component.dev.langchain4j.agent.tool.ReturnBehaviorReturns the value of thereturnBehaviorrecord component.tool()Returns the value of thetoolrecord component.Returns the value of thetoolInvokerNamerecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
Contextpublic Context(Object tool, String toolInvokerName, String methodName, String argumentMapperClassName, ToolMethodCreateInfo.ExecutionModel executionModel, dev.langchain4j.agent.tool.ReturnBehavior returnBehavior) Creates an instance of aContextrecord class.- Parameters:
- tool- the value for the- toolrecord component
- toolInvokerName- the value for the- toolInvokerNamerecord component
- methodName- the value for the- methodNamerecord component
- argumentMapperClassName- the value for the- argumentMapperClassNamerecord component
- executionModel- the value for the- executionModelrecord component
- returnBehavior- the value for the- returnBehaviorrecord component
 
 
- 
- 
Method Details- 
toString
- 
hashCode
- 
equalsIndicates 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).
- 
toolReturns the value of thetoolrecord component.- Returns:
- the value of the toolrecord component
 
- 
toolInvokerNameReturns the value of thetoolInvokerNamerecord component.- Returns:
- the value of the toolInvokerNamerecord component
 
- 
methodNameReturns the value of themethodNamerecord component.- Returns:
- the value of the methodNamerecord component
 
- 
argumentMapperClassNameReturns the value of theargumentMapperClassNamerecord component.- Returns:
- the value of the argumentMapperClassNamerecord component
 
- 
executionModelReturns the value of theexecutionModelrecord component.- Returns:
- the value of the executionModelrecord component
 
- 
returnBehaviorpublic dev.langchain4j.agent.tool.ReturnBehavior returnBehavior()Returns the value of thereturnBehaviorrecord component.- Returns:
- the value of the returnBehaviorrecord component
 
 
-