public final class ImmutableMongodProcessArguments extends MongodProcessArguments
MongodProcessArguments.
Use the builder to create immutable instances:
ImmutableMongodProcessArguments.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongodProcessArguments.Builder
Builds instances of type
ImmutableMongodProcessArguments. |
| Modifier and Type | Method and Description |
|---|---|
de.flapdoodle.reverse.StateID<MongodArguments> |
arguments() |
static ImmutableMongodProcessArguments.Builder |
builder()
Creates a builder for
ImmutableMongodProcessArguments. |
static ImmutableMongodProcessArguments |
copyOf(MongodProcessArguments instance)
Creates an immutable copy of a
MongodProcessArguments value. |
de.flapdoodle.reverse.StateID<DatabaseDir> |
databaseDir() |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> |
destination() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMongodProcessArguments that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
destination, arguments, platform, version, net, databaseDir. |
de.flapdoodle.reverse.StateID<Net> |
net() |
de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> |
platform() |
String |
toString()
Prints the immutable value
MongodProcessArguments with attribute values. |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> |
version() |
ImmutableMongodProcessArguments |
withArguments(de.flapdoodle.reverse.StateID<MongodArguments> value)
Copy the current immutable object by setting a value for the
arguments attribute. |
ImmutableMongodProcessArguments |
withDatabaseDir(de.flapdoodle.reverse.StateID<DatabaseDir> value)
Copy the current immutable object by setting a value for the
databaseDir attribute. |
ImmutableMongodProcessArguments |
withDestination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMongodProcessArguments |
withNet(de.flapdoodle.reverse.StateID<Net> value)
Copy the current immutable object by setting a value for the
net attribute. |
ImmutableMongodProcessArguments |
withPlatform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> value)
Copy the current immutable object by setting a value for the
platform attribute. |
ImmutableMongodProcessArguments |
withVersion(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> value)
Copy the current immutable object by setting a value for the
version attribute. |
result, sources, transitionLabel, withDefaultspublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> destination()
destination in interface de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessArguments>destination in class MongodProcessArgumentsdestination attributepublic de.flapdoodle.reverse.StateID<MongodArguments> arguments()
arguments in interface CommandProcessArguments<MongodArguments>arguments in class MongodProcessArgumentsarguments attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> platform()
platform in class MongodProcessArgumentsplatform attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> version()
version in class MongodProcessArgumentsversion attributepublic de.flapdoodle.reverse.StateID<Net> net()
net in class MongodProcessArgumentsnet attributepublic de.flapdoodle.reverse.StateID<DatabaseDir> databaseDir()
databaseDir in class MongodProcessArgumentsdatabaseDir attributepublic final ImmutableMongodProcessArguments withDestination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> 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 final ImmutableMongodProcessArguments withArguments(de.flapdoodle.reverse.StateID<MongodArguments> 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 ImmutableMongodProcessArguments 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 ImmutableMongodProcessArguments withVersion(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> value)
version attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for versionthis objectpublic final ImmutableMongodProcessArguments 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 ImmutableMongodProcessArguments withDatabaseDir(de.flapdoodle.reverse.StateID<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 boolean equals(Object another)
ImmutableMongodProcessArguments that have equal attribute values.public int hashCode()
destination, arguments, platform, version, net, databaseDir.public String toString()
MongodProcessArguments with attribute values.public static ImmutableMongodProcessArguments copyOf(MongodProcessArguments instance)
MongodProcessArguments 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 ImmutableMongodProcessArguments.Builder builder()
ImmutableMongodProcessArguments.
ImmutableMongodProcessArguments.builder()
.destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments>) // optional destination
.arguments(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.commands.MongodArguments>) // optional arguments
.platform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform>) // optional platform
.version(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version>) // optional version
.net(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.config.Net>) // optional net
.databaseDir(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.types.DatabaseDir>) // optional databaseDir
.build();
Copyright © 2022. All rights reserved.