Package com.google.genkit.plugins.spring
Class SpringPluginOptions
java.lang.Object
com.google.genkit.plugins.spring.SpringPluginOptions
Options for configuring the Spring Boot plugin.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for SpringPluginOptions. -
Method Summary
Modifier and TypeMethodDescriptionstatic SpringPluginOptions.Builderbuilder()Creates a new builder.Gets the base path for flow endpoints.Gets the context path for the Spring application.getHost()Gets the host to bind to.intgetPort()Gets the HTTP port.
-
Method Details
-
builder
Creates a new builder.- Returns:
- a new builder
-
getPort
public int getPort()Gets the HTTP port.- Returns:
- the port
-
getHost
Gets the host to bind to.- Returns:
- the host
-
getBasePath
Gets the base path for flow endpoints.- Returns:
- the base path
-
getContextPath
Gets the context path for the Spring application.- Returns:
- the context path
-