GraphStrategyBuilderWithInput
class GraphStrategyBuilderWithInput<Input : Any>(strategyName: String, inputClass: KClass<Input>)(source)
A builder class for constructing graph strategies that start with a specific input type.
This class is used to define the input type of a graph and allows chaining to specify the output type, enabling the creation of a strongly-typed graph strategy.
Parameters
strategyName
The name of the strategy being built.
Input
The type of the input that the graph will utilize.
Functions
Link copied to clipboard
fun <Output : Any> withOutput(clazz: ERROR CLASS: Symbol not found for Class<Output>): TypedGraphStrategyBuilder<Input, Output>
Specifies the output type for the graph strategy and returns a builder configured with the input and output types.