Package com.google.genkit
Class Genkit.Builder
java.lang.Object
com.google.genkit.Genkit.Builder
- Enclosing class:
Genkit
Builder for Genkit.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the Genkit instance.devMode()Enables dev mode.options(GenkitOptions options) Sets the Genkit options.Adds a plugin.reflectionPort(int port) Sets the reflection port.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
options
Sets the Genkit options.- Parameters:
options- the options- Returns:
- this builder
-
plugin
Adds a plugin.- Parameters:
plugin- the plugin to add- Returns:
- this builder
-
devMode
Enables dev mode.- Returns:
- this builder
-
reflectionPort
Sets the reflection port.- Parameters:
port- the port number- Returns:
- this builder
-
build
Builds the Genkit instance.- Returns:
- the configured Genkit instance
-