CPlainChangelogWriterConfigurationTypepublic final class CPlainChangelogWriterConfiguration extends java.lang.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(java.lang.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() |
|
java.lang.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(java.lang.Object another)
CPlainChangelogWriterConfiguration that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
showDates.hashCode in class java.lang.Objectpublic java.lang.String toString()
CPlainChangelogWriterConfiguration with attribute values.toString in class java.lang.Objectpublic 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 © 2017 <code@io7m.com> http://io7m.com