public final class ImmutablePackageOfCommandDistribution extends PackageOfCommandDistribution
PackageOfCommandDistribution.
Use the builder to create immutable instances:
ImmutablePackageOfCommandDistribution.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutablePackageOfCommandDistribution.Builder
Builds instances of type
ImmutablePackageOfCommandDistribution. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutablePackageOfCommandDistribution.Builder |
builder()
Creates a builder for
ImmutablePackageOfCommandDistribution. |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.packageresolver.Command> |
command() |
protected Function<de.flapdoodle.embed.mongo.packageresolver.Command,de.flapdoodle.embed.process.distribution.PackageResolver> |
commandPackageResolver() |
static ImmutablePackageOfCommandDistribution |
copyOf(PackageOfCommandDistribution instance)
Creates an immutable copy of a
PackageOfCommandDistribution value. |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.store.Package> |
destination() |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Distribution> |
distribution() |
de.flapdoodle.reverse.StateID<DistributionBaseUrl> |
distributionBaseUrl() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutablePackageOfCommandDistribution that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
commandPackageResolver, command, distribution, distributionBaseUrl, destination. |
String |
toString()
Prints the immutable value
PackageOfCommandDistribution with attribute values. |
ImmutablePackageOfCommandDistribution |
withCommand(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.packageresolver.Command> value)
Copy the current immutable object by setting a value for the
command attribute. |
ImmutablePackageOfCommandDistribution |
withCommandPackageResolver(Function<de.flapdoodle.embed.mongo.packageresolver.Command,de.flapdoodle.embed.process.distribution.PackageResolver> value)
Copy the current immutable object by setting a value for the
commandPackageResolver attribute. |
ImmutablePackageOfCommandDistribution |
withDestination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.store.Package> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutablePackageOfCommandDistribution |
withDistribution(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Distribution> value)
Copy the current immutable object by setting a value for the
distribution attribute. |
ImmutablePackageOfCommandDistribution |
withDistributionBaseUrl(de.flapdoodle.reverse.StateID<DistributionBaseUrl> value)
Copy the current immutable object by setting a value for the
distributionBaseUrl attribute. |
packageOf, result, sources, transitionLabel, withDefaultsprotected Function<de.flapdoodle.embed.mongo.packageresolver.Command,de.flapdoodle.embed.process.distribution.PackageResolver> commandPackageResolver()
commandPackageResolver in class PackageOfCommandDistributioncommandPackageResolver attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.packageresolver.Command> command()
command in class PackageOfCommandDistributioncommand attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Distribution> distribution()
distribution in class PackageOfCommandDistributiondistribution attributepublic de.flapdoodle.reverse.StateID<DistributionBaseUrl> distributionBaseUrl()
distributionBaseUrl in class PackageOfCommandDistributiondistributionBaseUrl attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.store.Package> destination()
destination in interface de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.config.store.Package>destination in class PackageOfCommandDistributiondestination attributepublic final ImmutablePackageOfCommandDistribution withCommandPackageResolver(Function<de.flapdoodle.embed.mongo.packageresolver.Command,de.flapdoodle.embed.process.distribution.PackageResolver> value)
commandPackageResolver attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for commandPackageResolverthis objectpublic final ImmutablePackageOfCommandDistribution withCommand(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.packageresolver.Command> value)
command attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for commandthis objectpublic final ImmutablePackageOfCommandDistribution withDistribution(de.flapdoodle.reverse.StateID<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 ImmutablePackageOfCommandDistribution withDistributionBaseUrl(de.flapdoodle.reverse.StateID<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 ImmutablePackageOfCommandDistribution withDestination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.store.Package> 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)
ImmutablePackageOfCommandDistribution that have equal attribute values.public int hashCode()
commandPackageResolver, command, distribution, distributionBaseUrl, destination.public String toString()
PackageOfCommandDistribution with attribute values.public static ImmutablePackageOfCommandDistribution copyOf(PackageOfCommandDistribution instance)
PackageOfCommandDistribution 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 ImmutablePackageOfCommandDistribution.Builder builder()
ImmutablePackageOfCommandDistribution.
ImmutablePackageOfCommandDistribution.builder()
.commandPackageResolver(function.Function<de.flapdoodle.embed.mongo.packageresolver.Command, de.flapdoodle.embed.process.distribution.PackageResolver>) // optional commandPackageResolver
.command(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.packageresolver.Command>) // optional command
.distribution(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Distribution>) // optional distribution
.distributionBaseUrl(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.types.DistributionBaseUrl>) // optional distributionBaseUrl
.destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.store.Package>) // optional destination
.build();
Copyright © 2024. All rights reserved.