public static final class ImmutableMongoRestore.Builder extends Object
ImmutableMongoRestore.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableMongoRestore |
build()
Builds a new
ImmutableMongoRestore. |
ImmutableMongoRestore.Builder |
commandName(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name> commandName)
Initializes the value for the
commandName attribute. |
ImmutableMongoRestore.Builder |
distribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.distribution.Distribution> distribution)
Initializes the value for the
distribution attribute. |
ImmutableMongoRestore.Builder |
distributionBaseUrl(de.flapdoodle.reverse.Transition<DistributionBaseUrl> distributionBaseUrl)
Initializes the value for the
distributionBaseUrl attribute. |
ImmutableMongoRestore.Builder |
downloadCache(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.DownloadCache> downloadCache)
Initializes the value for the
downloadCache attribute. |
ImmutableMongoRestore.Builder |
downloadPackage(de.flapdoodle.embed.process.transitions.DownloadPackage downloadPackage)
Initializes the value for the
downloadPackage attribute. |
ImmutableMongoRestore.Builder |
extractedFileSetStore(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.ExtractedFileSetStore> extractedFileSetStore)
Initializes the value for the
extractedFileSetStore attribute. |
ImmutableMongoRestore.Builder |
extractPackage(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.archives.ExtractedFileSet> extractPackage)
Initializes the value for the
extractPackage attribute. |
ImmutableMongoRestore.Builder |
from(CommandName instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.mongo.transitions.CommandName instance. |
ImmutableMongoRestore.Builder |
from(ExtractFileSet instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.mongo.transitions.ExtractFileSet instance. |
ImmutableMongoRestore.Builder |
from(MongoRestore instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.mongo.transitions.MongoRestore instance. |
ImmutableMongoRestore.Builder |
from(ProcessDefaults instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.mongo.transitions.ProcessDefaults instance. |
ImmutableMongoRestore.Builder |
from(VersionAndPlatform instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.mongo.transitions.VersionAndPlatform instance. |
ImmutableMongoRestore.Builder |
from(WorkspaceDefaults instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.mongo.transitions.WorkspaceDefaults instance. |
ImmutableMongoRestore.Builder |
initTempDirectory(de.flapdoodle.embed.process.transitions.InitTempDirectory initTempDirectory)
Initializes the value for the
initTempDirectory attribute. |
ImmutableMongoRestore.Builder |
packageOfDistribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.store.Package> packageOfDistribution)
Initializes the value for the
packageOfDistribution attribute. |
ImmutableMongoRestore.Builder |
persistentBaseDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.directories.PersistentDir> persistentBaseDir)
Initializes the value for the
persistentBaseDir attribute. |
ImmutableMongoRestore.Builder |
platform(de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform> platform)
Initializes the value for the
platform attribute. |
ImmutableMongoRestore.Builder |
processConfig(de.flapdoodle.reverse.transitions.ImmutableStart<de.flapdoodle.embed.process.types.ProcessConfig> processConfig)
Initializes the value for the
processConfig attribute. |
ImmutableMongoRestore.Builder |
processEnv(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessEnv> processEnv)
Initializes the value for the
processEnv attribute. |
ImmutableMongoRestore.Builder |
processOutput(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.ProcessOutput> processOutput)
Initializes the value for the
processOutput attribute. |
ImmutableMongoRestore.Builder |
processWorkingDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessWorkingDir> processWorkingDir)
Initializes the value for the
processWorkingDir attribute. |
ImmutableMongoRestore.Builder |
progressListener(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.progress.ProgressListener> progressListener)
Initializes the value for the
progressListener attribute. |
ImmutableMongoRestore.Builder |
startTimeout(de.flapdoodle.reverse.Transition<StartTimeout> startTimeout)
Initializes the value for the
startTimeout attribute. |
ImmutableMongoRestore.Builder |
supportConfig(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.SupportConfig> supportConfig)
Initializes the value for the
supportConfig attribute. |
ImmutableMongoRestore.Builder |
systemEnv(de.flapdoodle.reverse.Transition<SystemEnv> systemEnv)
Initializes the value for the
systemEnv attribute. |
public final ImmutableMongoRestore.Builder from(MongoRestore instance)
de.flapdoodle.embed.mongo.transitions.MongoRestore instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder from(ExtractFileSet instance)
de.flapdoodle.embed.mongo.transitions.ExtractFileSet instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder from(CommandName instance)
de.flapdoodle.embed.mongo.transitions.CommandName instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder from(ProcessDefaults instance)
de.flapdoodle.embed.mongo.transitions.ProcessDefaults instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder from(WorkspaceDefaults instance)
de.flapdoodle.embed.mongo.transitions.WorkspaceDefaults instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder from(VersionAndPlatform instance)
de.flapdoodle.embed.mongo.transitions.VersionAndPlatform instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder initTempDirectory(de.flapdoodle.embed.process.transitions.InitTempDirectory initTempDirectory)
initTempDirectory attribute.
If not set, this attribute will have a default value as returned by the initializer of initTempDirectory.
initTempDirectory - The value for initTempDirectorythis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder processWorkingDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessWorkingDir> processWorkingDir)
processWorkingDir attribute.
If not set, this attribute will have a default value as returned by the initializer of processWorkingDir.
processWorkingDir - The value for processWorkingDirthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder distributionBaseUrl(de.flapdoodle.reverse.Transition<DistributionBaseUrl> distributionBaseUrl)
distributionBaseUrl attribute.
If not set, this attribute will have a default value as returned by the initializer of distributionBaseUrl.
distributionBaseUrl - The value for distributionBaseUrlthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder platform(de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform> platform)
platform attribute.
If not set, this attribute will have a default value as returned by the initializer of platform.
platform - The value for platformthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder distribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.distribution.Distribution> distribution)
distribution attribute.
If not set, this attribute will have a default value as returned by the initializer of distribution.
distribution - The value for distributionthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder processConfig(de.flapdoodle.reverse.transitions.ImmutableStart<de.flapdoodle.embed.process.types.ProcessConfig> processConfig)
processConfig attribute.
If not set, this attribute will have a default value as returned by the initializer of processConfig.
processConfig - The value for processConfigthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder processEnv(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessEnv> processEnv)
processEnv attribute.
If not set, this attribute will have a default value as returned by the initializer of processEnv.
processEnv - The value for processEnvthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder startTimeout(de.flapdoodle.reverse.Transition<StartTimeout> startTimeout)
startTimeout attribute.
If not set, this attribute will have a default value as returned by the initializer of startTimeout.
startTimeout - The value for startTimeoutthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder processOutput(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.ProcessOutput> processOutput)
processOutput attribute.
If not set, this attribute will have a default value as returned by the initializer of processOutput.
processOutput - The value for processOutputthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder supportConfig(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.SupportConfig> supportConfig)
supportConfig attribute.
If not set, this attribute will have a default value as returned by the initializer of supportConfig.
supportConfig - The value for supportConfigthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder commandName(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name> commandName)
commandName attribute.
If not set, this attribute will have a default value as returned by the initializer of commandName.
commandName - The value for commandNamethis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder systemEnv(de.flapdoodle.reverse.Transition<SystemEnv> systemEnv)
systemEnv attribute.
If not set, this attribute will have a default value as returned by the initializer of systemEnv.
systemEnv - The value for systemEnvthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder persistentBaseDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.directories.PersistentDir> persistentBaseDir)
persistentBaseDir attribute.
If not set, this attribute will have a default value as returned by the initializer of persistentBaseDir.
persistentBaseDir - The value for persistentBaseDirthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder downloadCache(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.DownloadCache> downloadCache)
downloadCache attribute.
If not set, this attribute will have a default value as returned by the initializer of downloadCache.
downloadCache - The value for downloadCachethis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder extractedFileSetStore(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.ExtractedFileSetStore> extractedFileSetStore)
extractedFileSetStore attribute.
If not set, this attribute will have a default value as returned by the initializer of extractedFileSetStore.
extractedFileSetStore - The value for extractedFileSetStorethis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder downloadPackage(de.flapdoodle.embed.process.transitions.DownloadPackage downloadPackage)
downloadPackage attribute.
If not set, this attribute will have a default value as returned by the initializer of downloadPackage.
downloadPackage - The value for downloadPackagethis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder progressListener(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.progress.ProgressListener> progressListener)
progressListener attribute.
If not set, this attribute will have a default value as returned by the initializer of progressListener.
progressListener - The value for progressListenerthis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder extractPackage(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.archives.ExtractedFileSet> extractPackage)
extractPackage attribute.
If not set, this attribute will have a default value as returned by the initializer of extractPackage.
extractPackage - The value for extractPackagethis builder for use in a chained invocationpublic final ImmutableMongoRestore.Builder packageOfDistribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.store.Package> packageOfDistribution)
packageOfDistribution attribute.
If not set, this attribute will have a default value as returned by the initializer of packageOfDistribution.
packageOfDistribution - The value for packageOfDistributionthis builder for use in a chained invocationpublic ImmutableMongoRestore build()
ImmutableMongoRestore.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.