public final class ImmutableMongod extends Mongod
Mongod.
Use the builder to create immutable instances:
ImmutableMongod.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongod.Builder
Builds instances of type
ImmutableMongod. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableMongod.Builder |
builder()
Creates a builder for
ImmutableMongod. |
de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.Name> |
commandName() |
static ImmutableMongod |
copyOf(Mongod instance)
Creates an immutable copy of a
Mongod value. |
de.flapdoodle.reverse.Transition<DatabaseDir> |
databaseDir() |
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
ImmutableMongod 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, mongodArguments, net, databaseDir, mongodProcessArguments. |
de.flapdoodle.embed.process.transitions.InitTempDirectory |
initTempDirectory() |
de.flapdoodle.reverse.Transition<MongodArguments> |
mongodArguments() |
MongodProcessArguments |
mongodProcessArguments() |
de.flapdoodle.reverse.Transition<Net> |
net() |
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
Mongod with attribute values. |
ImmutableMongod |
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. |
ImmutableMongod |
withDatabaseDir(de.flapdoodle.reverse.Transition<DatabaseDir> value)
Copy the current immutable object by setting a value for the
databaseDir attribute. |
ImmutableMongod |
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. |
ImmutableMongod |
withDistributionBaseUrl(de.flapdoodle.reverse.Transition<DistributionBaseUrl> value)
Copy the current immutable object by setting a value for the
distributionBaseUrl attribute. |
ImmutableMongod |
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. |
ImmutableMongod |
withDownloadPackage(de.flapdoodle.embed.process.transitions.DownloadPackage value)
Copy the current immutable object by setting a value for the
downloadPackage attribute. |
ImmutableMongod |
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. |
ImmutableMongod |
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. |
ImmutableMongod |
withInitTempDirectory(de.flapdoodle.embed.process.transitions.InitTempDirectory value)
Copy the current immutable object by setting a value for the
initTempDirectory attribute. |
ImmutableMongod |
withMongodArguments(de.flapdoodle.reverse.Transition<MongodArguments> value)
Copy the current immutable object by setting a value for the
mongodArguments attribute. |
ImmutableMongod |
withMongodProcessArguments(MongodProcessArguments value)
Copy the current immutable object by setting a value for the
mongodProcessArguments attribute. |
ImmutableMongod |
withNet(de.flapdoodle.reverse.Transition<Net> value)
Copy the current immutable object by setting a value for the
net attribute. |
ImmutableMongod |
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. |
ImmutableMongod |
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. |
ImmutableMongod |
withPlatform(de.flapdoodle.reverse.Transition<de.flapdoodle.os.Platform> value)
Copy the current immutable object by setting a value for the
platform attribute. |
ImmutableMongod |
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. |
ImmutableMongod |
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. |
ImmutableMongod |
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. |
ImmutableMongod |
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. |
ImmutableMongod |
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. |
ImmutableMongod |
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. |
ImmutableMongod |
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 de.flapdoodle.reverse.Transition<MongodArguments> mongodArguments()
mongodArguments in class MongodmongodArguments attributepublic de.flapdoodle.reverse.Transition<Net> net()
public de.flapdoodle.reverse.Transition<DatabaseDir> databaseDir()
databaseDir in class MongoddatabaseDir attributepublic MongodProcessArguments mongodProcessArguments()
mongodProcessArguments in class MongodmongodProcessArguments attributepublic final ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 ImmutableMongod 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 final ImmutableMongod withMongodArguments(de.flapdoodle.reverse.Transition<MongodArguments> value)
mongodArguments attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for mongodArgumentsthis objectpublic final ImmutableMongod withNet(de.flapdoodle.reverse.Transition<Net> value)
net attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for netthis objectpublic final ImmutableMongod withDatabaseDir(de.flapdoodle.reverse.Transition<DatabaseDir> value)
databaseDir attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for databaseDirthis objectpublic final ImmutableMongod withMongodProcessArguments(MongodProcessArguments value)
mongodProcessArguments attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for mongodProcessArgumentsthis objectpublic boolean equals(Object another)
ImmutableMongod 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, mongodArguments, net, databaseDir, mongodProcessArguments.public String toString()
Mongod with attribute values.public static ImmutableMongod copyOf(Mongod instance)
Mongod 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 ImmutableMongod.Builder builder()
ImmutableMongod.
ImmutableMongod.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
.mongodArguments(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.mongo.commands.MongodArguments>) // optional mongodArguments
.net(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.mongo.config.Net>) // optional net
.databaseDir(de.flapdoodle.reverse.Transition<de.flapdoodle.embed.mongo.types.DatabaseDir>) // optional databaseDir
.mongodProcessArguments(de.flapdoodle.embed.mongo.transitions.MongodProcessArguments) // optional mongodProcessArguments
.build();
Copyright © 2022. All rights reserved.