Record Class LC4jToolService.Specification
java.lang.Object
java.lang.Record
org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
- Record Components:
value-executor-
- Enclosing class:
- LC4jToolService
@Deprecated
public static record LC4jToolService.Specification(dev.langchain4j.agent.tool.ToolSpecification value, dev.langchain4j.service.tool.ToolExecutor executor)
extends Record
Deprecated.
Tool specification data class
-
Constructor Summary
ConstructorsConstructorDescriptionSpecification(dev.langchain4j.agent.tool.ToolSpecification value, dev.langchain4j.service.tool.ToolExecutor executor) Deprecated.Creates an instance of aSpecificationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated.Indicates whether some other object is "equal to" this one.dev.langchain4j.service.tool.ToolExecutorexecutor()Deprecated.Returns the value of theexecutorrecord component.final inthashCode()Deprecated.Returns a hash code value for this object.of(dev.langchain4j.agent.tool.ToolSpecification value, dev.langchain4j.service.tool.ToolExecutor executor) Deprecated.final StringtoString()Deprecated.Returns a string representation of this record class.dev.langchain4j.agent.tool.ToolSpecificationvalue()Deprecated.Returns the value of thevaluerecord component.
-
Constructor Details
-
Specification
public Specification(dev.langchain4j.agent.tool.ToolSpecification value, dev.langchain4j.service.tool.ToolExecutor executor) Deprecated.Creates an instance of aSpecificationrecord class.
-
-
Method Details
-
of
public static LC4jToolService.Specification of(dev.langchain4j.agent.tool.ToolSpecification value, dev.langchain4j.service.tool.ToolExecutor executor) Deprecated. -
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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
public dev.langchain4j.agent.tool.ToolSpecification value()Deprecated.Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
executor
public dev.langchain4j.service.tool.ToolExecutor executor()Deprecated.Returns the value of theexecutorrecord component.- Returns:
- the value of the
executorrecord component
-
Map.Entry<dev.langchain4j.agent.tool.ToolSpecification,dev.langchain4j.service.tool.ToolExecutor> instead