MinChangesConfigurationTypepublic final class MinChangesConfiguration extends Object implements MinChangesConfigurationType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MinChangesConfiguration.Builder |
Builds instances of type
MinChangesConfiguration. |
| Modifier and Type | Method | Description |
|---|---|---|
static MinChangesConfiguration.Builder |
builder() |
Creates a builder for
MinChangesConfiguration. |
static MinChangesConfiguration |
copyOf(MinChangesConfigurationType instance) |
Creates an immutable copy of a
MinChangesConfigurationType value. |
boolean |
equals(Object another) |
This instance is equal to all instances of
MinChangesConfiguration that have equal attribute values. |
String |
feedEmail() |
|
Path |
file() |
|
int |
hashCode() |
Computes a hash code from attributes:
file, feedEmail. |
static MinChangesConfiguration |
of(Path file,
String feedEmail) |
Construct a new immutable
MinChangesConfiguration instance. |
String |
toString() |
Prints the immutable value
MinChangesConfiguration with attribute values. |
MinChangesConfiguration |
withFeedEmail(String value) |
Copy the current immutable object by setting a value for the
feedEmail attribute. |
MinChangesConfiguration |
withFile(Path value) |
Copy the current immutable object by setting a value for the
file attribute. |
public Path file()
file in interface MinChangesConfigurationTypepublic String feedEmail()
feedEmail in interface MinChangesConfigurationTypepublic final MinChangesConfiguration withFile(Path value)
file attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for filethis objectpublic final MinChangesConfiguration withFeedEmail(String value)
feedEmail attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for feedEmailthis objectpublic boolean equals(Object another)
MinChangesConfiguration that have equal attribute values.public int hashCode()
file, feedEmail.public String toString()
MinChangesConfiguration with attribute values.public static MinChangesConfiguration of(Path file, String feedEmail)
MinChangesConfiguration instance.file - The value for the file attributefeedEmail - The value for the feedEmail attributepublic static MinChangesConfiguration copyOf(MinChangesConfigurationType instance)
MinChangesConfigurationType 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 MinChangesConfiguration.Builder builder()
MinChangesConfiguration.Copyright © 2018 <code@io7m.com> http://io7m.com