Interface FunctionCallback.Builder
- All Known Implementing Classes:
DefaultFunctionCallbackBuilder
- Enclosing interface:
- FunctionCallback
Deprecated.
Builder for creating a
FunctionCallback
instance. This is a hierarchical
builder with the following structure:
FunctionCallback.Builder
- The root builder interface.FunctionCallback.FunctionInvokingSpec
- The function invoking builder interface.FunctionCallback.MethodInvokingSpec
- The method invoking builder interface.
-
Method Summary
Modifier and TypeMethodDescription<I,
O> FunctionCallback.FunctionInvokingSpec<I, O> function
(String name, BiFunction<I, ToolContext, O> biFunction) Deprecated.Builds aBiFunction
invokingFunctionCallback
instance.Deprecated.Builds aConsumer
invokingFunctionCallback
instance.<I,
O> FunctionCallback.FunctionInvokingSpec<I, O> Deprecated.Builds aFunction
invokingFunctionCallback
instance.Deprecated.Builds aSupplier
invokingFunctionCallback
instance.Deprecated.Builds a Method invokingFunctionCallback
instance.
-
Method Details
-
function
Deprecated.Builds aFunction
invokingFunctionCallback
instance. -
function
<I,O> FunctionCallback.FunctionInvokingSpec<I,O> function(String name, BiFunction<I, ToolContext, O> biFunction) Deprecated.Builds aBiFunction
invokingFunctionCallback
instance. -
function
Deprecated.Builds aSupplier
invokingFunctionCallback
instance. -
function
Deprecated.Builds aConsumer
invokingFunctionCallback
instance. -
method
Deprecated.Builds a Method invokingFunctionCallback
instance.
-
FunctionToolCallback.Builder
andMethodToolCallback.Builder
.