@Generated(value={"Immutables.generator","CChangelogTextWriterConfigurationType"}) public final class CChangelogTextWriterConfiguration extends Object implements CChangelogTextWriterConfigurationType
| Modifier and Type | Class and Description |
|---|---|
static class |
CChangelogTextWriterConfiguration.Builder
Builds instances of type
CChangelogTextWriterConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static CChangelogTextWriterConfiguration.Builder |
builder()
Creates a builder for
CChangelogTextWriterConfiguration. |
static CChangelogTextWriterConfiguration |
copyOf(CChangelogTextWriterConfigurationType instance)
Creates an immutable copy of a
CChangelogTextWriterConfigurationType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
CChangelogTextWriterConfiguration that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
release, showDates. |
static CChangelogTextWriterConfiguration |
of(Optional<CVersionType> release,
boolean showDates)
Construct a new immutable
CChangelogTextWriterConfiguration instance. |
Optional<CVersionType> |
release() |
boolean |
showDates() |
String |
toString()
Prints the immutable value
CChangelogTextWriterConfiguration with attribute values. |
CChangelogTextWriterConfiguration |
withRelease(CVersionType value)
Copy the current immutable object by setting a present value for the optional
release attribute. |
CChangelogTextWriterConfiguration |
withRelease(Optional<CVersionType> optional)
Copy the current immutable object by setting an optional value for the
release attribute. |
CChangelogTextWriterConfiguration |
withShowDates(boolean value)
Copy the current immutable object by setting a value for the
showDates attribute. |
public Optional<CVersionType> release()
release in interface CChangelogTextWriterConfigurationTypepublic boolean showDates()
showDates in interface CChangelogTextWriterConfigurationTypetrue iff dates should be shown in the outputpublic final CChangelogTextWriterConfiguration withRelease(CVersionType value)
release attribute.value - The value for releasethis objectpublic final CChangelogTextWriterConfiguration withRelease(Optional<CVersionType> optional)
release attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for releasethis objectpublic final CChangelogTextWriterConfiguration withShowDates(boolean value)
showDates attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for showDatesthis objectpublic boolean equals(Object another)
CChangelogTextWriterConfiguration that have equal attribute values.public int hashCode()
release, showDates.public String toString()
CChangelogTextWriterConfiguration with attribute values.public static CChangelogTextWriterConfiguration of(Optional<CVersionType> release, boolean showDates)
CChangelogTextWriterConfiguration instance.release - The value for the release attributeshowDates - The value for the showDates attributepublic static CChangelogTextWriterConfiguration copyOf(CChangelogTextWriterConfigurationType instance)
CChangelogTextWriterConfigurationType 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 CChangelogTextWriterConfiguration.Builder builder()
CChangelogTextWriterConfiguration.Copyright © 2017 <code@io7m.com> http://io7m.com