public final class ImmutableMongosStarter extends MongosStarter
MongosStarter.
Use the builder to create immutable instances:
ImmutableMongosStarter.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongosStarter.Builder
Builds instances of type
ImmutableMongosStarter. |
| Modifier and Type | Method and Description |
|---|---|
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> |
arguments() |
static ImmutableMongosStarter.Builder |
builder()
Creates a builder for
ImmutableMongosStarter. |
static ImmutableMongosStarter |
copyOf(MongosStarter instance)
Creates an immutable copy of a
MongosStarter value. |
de.flapdoodle.reverse.StateID<RunningMongosProcess> |
destination() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMongosStarter 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
MongosStarter with attribute values. |
String |
transitionLabel() |
ImmutableMongosStarter |
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. |
ImmutableMongosStarter |
withDestination(de.flapdoodle.reverse.StateID<RunningMongosProcess> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMongosStarter |
withNet(de.flapdoodle.reverse.StateID<Net> value)
Copy the current immutable object by setting a value for the
net attribute. |
ImmutableMongosStarter |
withPlatform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> value)
Copy the current immutable object by setting a value for the
platform attribute. |
ImmutableMongosStarter |
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. |
ImmutableMongosStarter |
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. |
ImmutableMongosStarter |
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. |
ImmutableMongosStarter |
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. |
ImmutableMongosStarter |
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. |
ImmutableMongosStarter |
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<RunningMongosProcess>processExecutable attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessConfig> processConfig()
processConfig in class MongoServerStarter<RunningMongosProcess>processConfig attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessEnv> processEnv()
processEnv in class MongoServerStarter<RunningMongosProcess>processEnv attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> arguments()
arguments in class MongoServerStarter<RunningMongosProcess>arguments attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.io.ProcessOutput> processOutput()
processOutput in class MongoServerStarter<RunningMongosProcess>processOutput attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.SupportConfig> supportConfig()
supportConfig in class MongoServerStarter<RunningMongosProcess>supportConfig attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> platform()
platform in class MongoServerStarter<RunningMongosProcess>platform attributepublic de.flapdoodle.reverse.StateID<Net> net()
net in class MongoServerStarter<RunningMongosProcess>net attributepublic String transitionLabel()
transitionLabel in interface de.flapdoodle.reverse.naming.HasLabeltransitionLabel in class MongosStartertransitionLabel attributepublic de.flapdoodle.reverse.StateID<RunningMongosProcess> destination()
destination in interface de.flapdoodle.reverse.Transition<RunningMongosProcess>destination in class MongosStarterdestination attributepublic final ImmutableMongosStarter 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 ImmutableMongosStarter 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 ImmutableMongosStarter 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 ImmutableMongosStarter 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 ImmutableMongosStarter 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 ImmutableMongosStarter 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 ImmutableMongosStarter 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 ImmutableMongosStarter 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 ImmutableMongosStarter 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 ImmutableMongosStarter withDestination(de.flapdoodle.reverse.StateID<RunningMongosProcess> 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)
ImmutableMongosStarter that have equal attribute values.public int hashCode()
processExecutable, processConfig, processEnv, arguments, processOutput, supportConfig, platform, net, transitionLabel, destination.public String toString()
MongosStarter with attribute values.public static ImmutableMongosStarter copyOf(MongosStarter instance)
MongosStarter 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 ImmutableMongosStarter.Builder builder()
ImmutableMongosStarter.
ImmutableMongosStarter.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.RunningMongosProcess>) // optional destination
.build();
Copyright © 2023. All rights reserved.