public final class ImmutableMongodStarter extends MongodStarter
MongodStarter.
Use the builder to create immutable instances:
ImmutableMongodStarter.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongodStarter.Builder
Builds instances of type
ImmutableMongodStarter. |
| Modifier and Type | Method and Description |
|---|---|
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> |
arguments() |
static ImmutableMongodStarter.Builder |
builder()
Creates a builder for
ImmutableMongodStarter. |
static ImmutableMongodStarter |
copyOf(MongodStarter instance)
Creates an immutable copy of a
MongodStarter value. |
de.flapdoodle.reverse.StateID<RunningMongodProcess> |
destination() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMongodStarter that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
processExecutable, processConfig, processEnv, arguments, processOutput, supportConfig, platform, net, transitionLabel, destination. |
de.flapdoodle.reverse.StateID<Net> |
net() |
de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> |
platform() |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessConfig> |
processConfig() |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessEnv> |
processEnv() |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.archives.ExtractedFileSet> |
processExecutable() |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.io.ProcessOutput> |
processOutput() |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.SupportConfig> |
supportConfig() |
String |
toString()
Prints the immutable value
MongodStarter with attribute values. |
String |
transitionLabel() |
ImmutableMongodStarter |
withArguments(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> value)
Copy the current immutable object by setting a value for the
arguments attribute. |
ImmutableMongodStarter |
withDestination(de.flapdoodle.reverse.StateID<RunningMongodProcess> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMongodStarter |
withNet(de.flapdoodle.reverse.StateID<Net> value)
Copy the current immutable object by setting a value for the
net attribute. |
ImmutableMongodStarter |
withPlatform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> value)
Copy the current immutable object by setting a value for the
platform attribute. |
ImmutableMongodStarter |
withProcessConfig(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessConfig> value)
Copy the current immutable object by setting a value for the
processConfig attribute. |
ImmutableMongodStarter |
withProcessEnv(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessEnv> value)
Copy the current immutable object by setting a value for the
processEnv attribute. |
ImmutableMongodStarter |
withProcessExecutable(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.archives.ExtractedFileSet> value)
Copy the current immutable object by setting a value for the
processExecutable attribute. |
ImmutableMongodStarter |
withProcessOutput(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.io.ProcessOutput> value)
Copy the current immutable object by setting a value for the
processOutput attribute. |
ImmutableMongodStarter |
withSupportConfig(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.SupportConfig> value)
Copy the current immutable object by setting a value for the
supportConfig attribute. |
ImmutableMongodStarter |
withTransitionLabel(String value)
Copy the current immutable object by setting a value for the
transitionLabel attribute. |
factory, withDefaultsprocessWorkingDir, result, sourcespublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.archives.ExtractedFileSet> processExecutable()
processExecutable in class MongoServerStarter<RunningMongodProcess>processExecutable attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessConfig> processConfig()
processConfig in class MongoServerStarter<RunningMongodProcess>processConfig attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessEnv> processEnv()
processEnv in class MongoServerStarter<RunningMongodProcess>processEnv attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> arguments()
arguments in class MongoServerStarter<RunningMongodProcess>arguments attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.io.ProcessOutput> processOutput()
processOutput in class MongoServerStarter<RunningMongodProcess>processOutput attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.SupportConfig> supportConfig()
supportConfig in class MongoServerStarter<RunningMongodProcess>supportConfig attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> platform()
platform in class MongoServerStarter<RunningMongodProcess>platform attributepublic de.flapdoodle.reverse.StateID<Net> net()
net in class MongoServerStarter<RunningMongodProcess>net attributepublic String transitionLabel()
transitionLabel in interface de.flapdoodle.reverse.naming.HasLabeltransitionLabel in class MongodStartertransitionLabel attributepublic de.flapdoodle.reverse.StateID<RunningMongodProcess> destination()
destination in interface de.flapdoodle.reverse.Transition<RunningMongodProcess>destination in class MongodStarterdestination attributepublic final ImmutableMongodStarter withProcessExecutable(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.archives.ExtractedFileSet> value)
processExecutable attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for processExecutablethis objectpublic final ImmutableMongodStarter withProcessConfig(de.flapdoodle.reverse.StateID<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 ImmutableMongodStarter withProcessEnv(de.flapdoodle.reverse.StateID<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 ImmutableMongodStarter withArguments(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> value)
arguments attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for argumentsthis objectpublic final ImmutableMongodStarter withProcessOutput(de.flapdoodle.reverse.StateID<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 ImmutableMongodStarter withSupportConfig(de.flapdoodle.reverse.StateID<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 ImmutableMongodStarter withPlatform(de.flapdoodle.reverse.StateID<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 ImmutableMongodStarter withNet(de.flapdoodle.reverse.StateID<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 ImmutableMongodStarter withTransitionLabel(String value)
transitionLabel attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for transitionLabelthis objectpublic final ImmutableMongodStarter withDestination(de.flapdoodle.reverse.StateID<RunningMongodProcess> value)
destination attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for destinationthis objectpublic boolean equals(Object another)
ImmutableMongodStarter that have equal attribute values.public int hashCode()
processExecutable, processConfig, processEnv, arguments, processOutput, supportConfig, platform, net, transitionLabel, destination.public String toString()
MongodStarter with attribute values.public static ImmutableMongodStarter copyOf(MongodStarter instance)
MongodStarter 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 ImmutableMongodStarter.Builder builder()
ImmutableMongodStarter.
ImmutableMongodStarter.builder()
.processExecutable(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.archives.ExtractedFileSet>) // optional processExecutable
.processConfig(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessConfig>) // optional processConfig
.processEnv(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessEnv>) // optional processEnv
.arguments(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments>) // optional arguments
.processOutput(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.io.ProcessOutput>) // optional processOutput
.supportConfig(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.SupportConfig>) // optional supportConfig
.platform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform>) // optional platform
.net(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.config.Net>) // optional net
.transitionLabel(String) // optional transitionLabel
.destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.transitions.RunningMongodProcess>) // optional destination
.build();
Copyright © 2024. All rights reserved.