CPlainChangelogWriterConfigurationTypepublic final class CPlainChangelogWriterConfiguration extends Object implements CPlainChangelogWriterConfigurationType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CPlainChangelogWriterConfiguration.Builder |
Builds instances of type
CPlainChangelogWriterConfiguration. |
| Modifier and Type | Method | Description |
|---|---|---|
static CPlainChangelogWriterConfiguration.Builder |
builder() |
Creates a builder for
CPlainChangelogWriterConfiguration. |
static CPlainChangelogWriterConfiguration |
copyOf(CPlainChangelogWriterConfigurationType instance) |
Creates an immutable copy of a
CPlainChangelogWriterConfigurationType value. |
boolean |
equals(Object another) |
This instance is equal to all instances of
CPlainChangelogWriterConfiguration that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
showDates. |
static CPlainChangelogWriterConfiguration |
of(boolean showDates) |
Construct a new immutable
CPlainChangelogWriterConfiguration instance. |
boolean |
showDates() |
|
String |
toString() |
Prints the immutable value
CPlainChangelogWriterConfiguration with attribute values. |
CPlainChangelogWriterConfiguration |
withShowDates(boolean value) |
Copy the current immutable object by setting a value for the
showDates attribute. |
public boolean showDates()
showDates in interface CPlainChangelogWriterConfigurationTypetrue if dates should be shown in the outputpublic final CPlainChangelogWriterConfiguration 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)
CPlainChangelogWriterConfiguration that have equal attribute values.public int hashCode()
showDates.public String toString()
CPlainChangelogWriterConfiguration with attribute values.public static CPlainChangelogWriterConfiguration of(boolean showDates)
CPlainChangelogWriterConfiguration instance.showDates - The value for the showDates attributepublic static CPlainChangelogWriterConfiguration copyOf(CPlainChangelogWriterConfigurationType instance)
CPlainChangelogWriterConfigurationType 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 CPlainChangelogWriterConfiguration.Builder builder()
CPlainChangelogWriterConfiguration.Copyright © 2018 <code@io7m.com> http://io7m.com