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