CChangelogTypepublic final class CChangelog extends java.lang.Object implements CChangelogType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CChangelog.Builder |
Builds instances of type
CChangelog. |
| Modifier and Type | Method | Description |
|---|---|---|
static CChangelog.Builder |
builder() |
Creates a builder for
CChangelog. |
static CChangelog |
copyOf(CChangelogType instance) |
Creates an immutable copy of a
CChangelogType value. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
CChangelog that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
project, releases, ticketSystems. |
static CChangelog |
of(java.lang.String project,
io.vavr.collection.SortedMap<CVersionType,CRelease> releases,
io.vavr.collection.Map<java.lang.String,CTicketSystem> ticketSystems) |
Construct a new immutable
CChangelog instance. |
java.lang.String |
project() |
|
io.vavr.collection.SortedMap<CVersionType,CRelease> |
releases() |
|
io.vavr.collection.Map<java.lang.String,CTicketSystem> |
ticketSystems() |
|
java.lang.String |
toString() |
Prints the immutable value
CChangelog with attribute values. |
CChangelog |
withProject(java.lang.String value) |
Copy the current immutable object by setting a value for the
project attribute. |
CChangelog |
withReleases(io.vavr.collection.SortedMap<CVersionType,CRelease> value) |
|
CChangelog |
withTicketSystems(io.vavr.collection.Map<java.lang.String,CTicketSystem> value) |
public java.lang.String project()
project in interface CChangelogTypepublic io.vavr.collection.SortedMap<CVersionType,CRelease> releases()
releases in interface CChangelogTypepublic io.vavr.collection.Map<java.lang.String,CTicketSystem> ticketSystems()
ticketSystems in interface CChangelogTypepublic final CChangelog withProject(java.lang.String value)
project attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for projectthis objectpublic CChangelog withReleases(io.vavr.collection.SortedMap<CVersionType,CRelease> value)
public CChangelog withTicketSystems(io.vavr.collection.Map<java.lang.String,CTicketSystem> value)
public boolean equals(java.lang.Object another)
CChangelog that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
project, releases, ticketSystems.hashCode in class java.lang.Objectpublic java.lang.String toString()
CChangelog with attribute values.toString in class java.lang.Objectpublic static CChangelog of(java.lang.String project, io.vavr.collection.SortedMap<CVersionType,CRelease> releases, io.vavr.collection.Map<java.lang.String,CTicketSystem> ticketSystems)
CChangelog instance.project - The value for the project attributereleases - The value for the releases attributeticketSystems - The value for the ticketSystems attributepublic static CChangelog copyOf(CChangelogType instance)
CChangelogType 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 CChangelog.Builder builder()
CChangelog.Copyright © 2017 <code@io7m.com> http://io7m.com