Class TemporalDevServerOptions.Builder
java.lang.Object
io.temporal.testing.TemporalDevServerOptions.Builder
- Enclosing class:
TemporalDevServerOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Alias forsetIp(String).setDatabaseFilename(String databaseFilename) Sets an SQLite database filename.setDownloadCacheTtl(Duration downloadCacheTtl) Sets the maximum age of a cached executable.setDownloadDestination(String downloadDestination) Sets the root directory for cached downloads.setDownloadEnabled(boolean downloadEnabled) Sets whether a missing or expired executable may be downloaded.setDownloadTtl(Duration downloadCacheTtl) Alias forsetDownloadCacheTtl(Duration).setDownloadVersion(String downloadVersion) Sets the CLI version to download.setExistingPath(String existingPath) Sets an existing Temporal CLI executable instead of using the download cache.setExtraArgs(String... extraArgs) Sets additional arguments appended to the generatedserver start-devcommand.setExtraArgs(List<String> extraArgs) Sets additional arguments appended to the generatedserver start-devcommand.Sets the IP address on which the dev server listens.setLogFile(String logFile) Sets a file that receives server output.setLogFormat(String logFormat) Sets the Temporal CLI log format.setLogLevel(String logLevel) Sets the Temporal CLI log level.Sets the gRPC port.setStartupTimeout(Duration startupTimeout) Sets the single timeout used for health and namespace readiness checks.setUi(boolean uiEnabled) Alias forsetUiEnabled(boolean).setUiEnabled(boolean uiEnabled) Sets whether the Temporal UI is enabled.Sets the UI port and implicitly enables the UI.setWorkingDirectory(String workingDirectory) Sets the child process working directory.
-
Method Details
-
setExistingPath
Sets an existing Temporal CLI executable instead of using the download cache. -
setDownloadVersion
Sets the CLI version to download."default"selects the version associated with the running sdk-java version; any other non-empty value is sent to temporal.download unchanged. -
setDownloadDestination
public TemporalDevServerOptions.Builder setDownloadDestination(@Nullable String downloadDestination) Sets the root directory for cached downloads. Defaults to the JVM temporary directory. -
setDownloadCacheTtl
Sets the maximum age of a cached executable. A null value caches indefinitely. -
setDownloadTtl
Alias forsetDownloadCacheTtl(Duration). -
setDownloadEnabled
Sets whether a missing or expired executable may be downloaded. -
setIp
Sets the IP address on which the dev server listens. -
setBindIp
Alias forsetIp(String). -
setPort
Sets the gRPC port. A null value asks the OS for an available port. -
setDatabaseFilename
Sets an SQLite database filename. A null value uses in-memory SQLite. -
setUiEnabled
Sets whether the Temporal UI is enabled. -
setUi
Alias forsetUiEnabled(boolean). -
setUiPort
Sets the UI port and implicitly enables the UI. -
setLogFormat
Sets the Temporal CLI log format. Defaults topretty. -
setLogLevel
Sets the Temporal CLI log level. Defaults towarn. -
setWorkingDirectory
Sets the child process working directory. Defaults to the current working directory. -
setLogFile
Sets a file that receives server output. A null value inherits the parent output. -
setStartupTimeout
Sets the single timeout used for health and namespace readiness checks. -
setExtraArgs
Sets additional arguments appended to the generatedserver start-devcommand. -
setExtraArgs
Sets additional arguments appended to the generatedserver start-devcommand. -
build
-