public final class ImmutableMongoDump extends MongoDump
MongoDump.
Use the builder to create immutable instances:
ImmutableMongoDump.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongoDump.Builder
Builds instances of type
ImmutableMongoDump. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableMongoDump.Builder |
builder()
Creates a builder for
ImmutableMongoDump. |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name> |
commandName() |
static ImmutableMongoDump |
copyOf(MongoDump instance)
Creates an immutable copy of a
MongoDump 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
ImmutableMongoDump 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
MongoDump with attribute values. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
withDistributionBaseUrl(de.flapdoodle.reverse.Transition<DistributionBaseUrl> value)
Copy the current immutable object by setting a value for the
distributionBaseUrl attribute. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
withDownloadPackage(de.flapdoodle.embed.process.transitions.DownloadPackage value)
Copy the current immutable object by setting a value for the
downloadPackage attribute. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
withInitTempDirectory(de.flapdoodle.embed.process.transitions.InitTempDirectory value)
Copy the current immutable object by setting a value for the
initTempDirectory attribute. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
withPlatform(de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform> value)
Copy the current immutable object by setting a value for the
platform attribute. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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. |
ImmutableMongoDump |
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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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 ImmutableMongoDump 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)
ImmutableMongoDump 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()
MongoDump with attribute values.public static ImmutableMongoDump copyOf(MongoDump instance)
MongoDump 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 ImmutableMongoDump.Builder builder()
ImmutableMongoDump.
ImmutableMongoDump.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.