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