public final class ImmutableMongoRestore extends MongoRestore
MongoRestore.
Use the builder to create immutable instances:
ImmutableMongoRestore.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongoRestore.Builder
Builds instances of type
ImmutableMongoRestore. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableMongoRestore.Builder |
builder()
Creates a builder for
ImmutableMongoRestore. |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name> |
commandName() |
static ImmutableMongoRestore |
copyOf(MongoRestore instance)
Creates an immutable copy of a
MongoRestore value. |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.distribution.Distribution> |
distribution() |
de.flapdoodle.reverse.Transition<DistributionBaseUrl> |
distributionBaseUrl() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.DownloadCache> |
downloadCache() |
de.flapdoodle.embed.process.transitions.DownloadPackage |
downloadPackage() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMongoRestore that have equal attribute values. |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.ExtractedFileSetStore> |
extractedFileSetStore() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.archives.ExtractedFileSet> |
extractPackage() |
int |
hashCode()
Computes a hash code from attributes:
initTempDirectory, processWorkingDir, distributionBaseUrl, platform, distribution, processConfig, processEnv, processOutput, supportConfig, commandName, systemEnv, persistentBaseDir, downloadCache, extractedFileSetStore, downloadPackage, progressListener, extractPackage, packageOfDistribution. |
de.flapdoodle.embed.process.transitions.InitTempDirectory |
initTempDirectory() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.store.Package> |
packageOfDistribution() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.directories.PersistentDir> |
persistentBaseDir() |
de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform> |
platform() |
de.flapdoodle.reverse.transitions.ImmutableStart<de.flapdoodle.embed.process.types.ProcessConfig> |
processConfig() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessEnv> |
processEnv() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.ProcessOutput> |
processOutput() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessWorkingDir> |
processWorkingDir() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.progress.ProgressListener> |
progressListener() |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.SupportConfig> |
supportConfig() |
de.flapdoodle.reverse.Transition<SystemEnv> |
systemEnv() |
String |
toString()
Prints the immutable value
MongoRestore with attribute values. |
ImmutableMongoRestore |
withCommandName(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name> value)
Copy the current immutable object by setting a value for the
commandName attribute. |
ImmutableMongoRestore |
withDistribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.distribution.Distribution> value)
Copy the current immutable object by setting a value for the
distribution attribute. |
ImmutableMongoRestore |
withDistributionBaseUrl(de.flapdoodle.reverse.Transition<DistributionBaseUrl> value)
Copy the current immutable object by setting a value for the
distributionBaseUrl attribute. |
ImmutableMongoRestore |
withDownloadCache(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.DownloadCache> value)
Copy the current immutable object by setting a value for the
downloadCache attribute. |
ImmutableMongoRestore |
withDownloadPackage(de.flapdoodle.embed.process.transitions.DownloadPackage value)
Copy the current immutable object by setting a value for the
downloadPackage attribute. |
ImmutableMongoRestore |
withExtractedFileSetStore(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.ExtractedFileSetStore> value)
Copy the current immutable object by setting a value for the
extractedFileSetStore attribute. |
ImmutableMongoRestore |
withExtractPackage(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.archives.ExtractedFileSet> value)
Copy the current immutable object by setting a value for the
extractPackage attribute. |
ImmutableMongoRestore |
withInitTempDirectory(de.flapdoodle.embed.process.transitions.InitTempDirectory value)
Copy the current immutable object by setting a value for the
initTempDirectory attribute. |
ImmutableMongoRestore |
withPackageOfDistribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.store.Package> value)
Copy the current immutable object by setting a value for the
packageOfDistribution attribute. |
ImmutableMongoRestore |
withPersistentBaseDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.directories.PersistentDir> value)
Copy the current immutable object by setting a value for the
persistentBaseDir attribute. |
ImmutableMongoRestore |
withPlatform(de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform> value)
Copy the current immutable object by setting a value for the
platform attribute. |
ImmutableMongoRestore |
withProcessConfig(de.flapdoodle.reverse.transitions.ImmutableStart<de.flapdoodle.embed.process.types.ProcessConfig> value)
Copy the current immutable object by setting a value for the
processConfig attribute. |
ImmutableMongoRestore |
withProcessEnv(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessEnv> value)
Copy the current immutable object by setting a value for the
processEnv attribute. |
ImmutableMongoRestore |
withProcessOutput(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.ProcessOutput> value)
Copy the current immutable object by setting a value for the
processOutput attribute. |
ImmutableMongoRestore |
withProcessWorkingDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessWorkingDir> value)
Copy the current immutable object by setting a value for the
processWorkingDir attribute. |
ImmutableMongoRestore |
withProgressListener(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.progress.ProgressListener> value)
Copy the current immutable object by setting a value for the
progressListener attribute. |
ImmutableMongoRestore |
withSupportConfig(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.SupportConfig> value)
Copy the current immutable object by setting a value for the
supportConfig attribute. |
ImmutableMongoRestore |
withSystemEnv(de.flapdoodle.reverse.Transition<SystemEnv> value)
Copy the current immutable object by setting a value for the
systemEnv attribute. |
instance, start, transitionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitworkspaceDefaultsversionAndPlatformprocessDefaultscommandNamesextractFileSetpublic de.flapdoodle.embed.process.transitions.InitTempDirectory initTempDirectory()
initTempDirectory attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessWorkingDir> processWorkingDir()
processWorkingDir attributepublic de.flapdoodle.reverse.Transition<DistributionBaseUrl> distributionBaseUrl()
distributionBaseUrl attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform> platform()
platform attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.distribution.Distribution> distribution()
distribution attributepublic de.flapdoodle.reverse.transitions.ImmutableStart<de.flapdoodle.embed.process.types.ProcessConfig> processConfig()
processConfig attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessEnv> processEnv()
processEnv attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.ProcessOutput> processOutput()
processOutput attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.SupportConfig> supportConfig()
supportConfig attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name> commandName()
commandName attributepublic de.flapdoodle.reverse.Transition<SystemEnv> systemEnv()
systemEnv attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.directories.PersistentDir> persistentBaseDir()
persistentBaseDir attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.DownloadCache> downloadCache()
downloadCache attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.ExtractedFileSetStore> extractedFileSetStore()
extractedFileSetStore attributepublic de.flapdoodle.embed.process.transitions.DownloadPackage downloadPackage()
downloadPackage attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.progress.ProgressListener> progressListener()
progressListener attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.archives.ExtractedFileSet> extractPackage()
extractPackage attributepublic de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.store.Package> packageOfDistribution()
packageOfDistribution attributepublic final ImmutableMongoRestore withInitTempDirectory(de.flapdoodle.embed.process.transitions.InitTempDirectory value)
initTempDirectory attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for initTempDirectorythis objectpublic final ImmutableMongoRestore withProcessWorkingDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessWorkingDir> value)
processWorkingDir attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for processWorkingDirthis objectpublic final ImmutableMongoRestore withDistributionBaseUrl(de.flapdoodle.reverse.Transition<DistributionBaseUrl> value)
distributionBaseUrl attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for distributionBaseUrlthis objectpublic final ImmutableMongoRestore withPlatform(de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform> value)
platform attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for platformthis objectpublic final ImmutableMongoRestore withDistribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.distribution.Distribution> value)
distribution attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for distributionthis objectpublic final ImmutableMongoRestore withProcessConfig(de.flapdoodle.reverse.transitions.ImmutableStart<de.flapdoodle.embed.process.types.ProcessConfig> value)
processConfig attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for processConfigthis objectpublic final ImmutableMongoRestore withProcessEnv(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessEnv> value)
processEnv attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for processEnvthis objectpublic final ImmutableMongoRestore withProcessOutput(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.ProcessOutput> value)
processOutput attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for processOutputthis objectpublic final ImmutableMongoRestore withSupportConfig(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.SupportConfig> value)
supportConfig attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for supportConfigthis objectpublic final ImmutableMongoRestore withCommandName(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name> value)
commandName attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for commandNamethis objectpublic final ImmutableMongoRestore withSystemEnv(de.flapdoodle.reverse.Transition<SystemEnv> value)
systemEnv attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for systemEnvthis objectpublic final ImmutableMongoRestore withPersistentBaseDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.directories.PersistentDir> value)
persistentBaseDir attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for persistentBaseDirthis objectpublic final ImmutableMongoRestore withDownloadCache(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.DownloadCache> value)
downloadCache attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for downloadCachethis objectpublic final ImmutableMongoRestore withExtractedFileSetStore(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.ExtractedFileSetStore> value)
extractedFileSetStore attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for extractedFileSetStorethis objectpublic final ImmutableMongoRestore withDownloadPackage(de.flapdoodle.embed.process.transitions.DownloadPackage value)
downloadPackage attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for downloadPackagethis objectpublic final ImmutableMongoRestore withProgressListener(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.progress.ProgressListener> value)
progressListener attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for progressListenerthis objectpublic final ImmutableMongoRestore withExtractPackage(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.archives.ExtractedFileSet> value)
extractPackage attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for extractPackagethis objectpublic final ImmutableMongoRestore withPackageOfDistribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.store.Package> value)
packageOfDistribution attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for packageOfDistributionthis objectpublic boolean equals(Object another)
ImmutableMongoRestore that have equal attribute values.public int hashCode()
initTempDirectory, processWorkingDir, distributionBaseUrl, platform, distribution, processConfig, processEnv, processOutput, supportConfig, commandName, systemEnv, persistentBaseDir, downloadCache, extractedFileSetStore, downloadPackage, progressListener, extractPackage, packageOfDistribution.public String toString()
MongoRestore with attribute values.public static ImmutableMongoRestore copyOf(MongoRestore instance)
MongoRestore value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableMongoRestore.Builder builder()
ImmutableMongoRestore.
ImmutableMongoRestore.builder()
.initTempDirectory(de.flapdoodle.embed.process.transitions.InitTempDirectory) // optional initTempDirectory
.processWorkingDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessWorkingDir>) // optional processWorkingDir
.distributionBaseUrl(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.mongo.types.DistributionBaseUrl>) // optional distributionBaseUrl
.platform(de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform>) // optional platform
.distribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.distribution.Distribution>) // optional distribution
.processConfig(de.flapdoodle.reverse.transitions.ImmutableStart<de.flapdoodle.embed.process.types.ProcessConfig>) // optional processConfig
.processEnv(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessEnv>) // optional processEnv
.processOutput(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.ProcessOutput>) // optional processOutput
.supportConfig(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.SupportConfig>) // optional supportConfig
.commandName(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name>) // optional commandName
.systemEnv(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.mongo.types.SystemEnv>) // optional systemEnv
.persistentBaseDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.directories.PersistentDir>) // optional persistentBaseDir
.downloadCache(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.DownloadCache>) // optional downloadCache
.extractedFileSetStore(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.store.ExtractedFileSetStore>) // optional extractedFileSetStore
.downloadPackage(de.flapdoodle.embed.process.transitions.DownloadPackage) // optional downloadPackage
.progressListener(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.io.progress.ProgressListener>) // optional progressListener
.extractPackage(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.archives.ExtractedFileSet>) // optional extractPackage
.packageOfDistribution(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.store.Package>) // optional packageOfDistribution
.build();
Copyright © 2024. All rights reserved.