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