@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableGlobalIconTheme extends GlobalIconTheme
GlobalIconTheme
.
Use the builder to create immutable instances:
ImmutableGlobalIconTheme.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableGlobalIconTheme.Builder
Builds instances of type
ImmutableGlobalIconTheme . |
IconTheme.DefaultColors
hexColorRegexPattern
Modifier and Type | Method and Description |
---|---|
static ImmutableGlobalIconTheme.Builder |
builder()
Creates a builder for
ImmutableGlobalIconTheme . |
String |
color1() |
String |
color2() |
String |
color3() |
static ImmutableGlobalIconTheme |
copyOf(GlobalIconTheme instance)
Creates an immutable copy of a
GlobalIconTheme value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableGlobalIconTheme that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
color1 , color2 , color3 . |
String |
toString()
Prints the immutable value
GlobalIconTheme with attribute values. |
ImmutableGlobalIconTheme |
withColor1(String value)
Copy the current immutable object by setting a value for the
color1 attribute. |
ImmutableGlobalIconTheme |
withColor2(String value)
Copy the current immutable object by setting a value for the
color2 attribute. |
ImmutableGlobalIconTheme |
withColor3(String value)
Copy the current immutable object by setting a value for the
color3 attribute. |
colorThemeHash
public String color1()
public String color2()
public String color3()
public final ImmutableGlobalIconTheme withColor1(String value)
color1
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for color1this
objectpublic final ImmutableGlobalIconTheme withColor2(String value)
color2
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for color2this
objectpublic final ImmutableGlobalIconTheme withColor3(String value)
color3
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for color3this
objectpublic boolean equals(@Nullable Object another)
ImmutableGlobalIconTheme
that have equal attribute values.public int hashCode()
color1
, color2
, color3
.public String toString()
GlobalIconTheme
with attribute values.public static ImmutableGlobalIconTheme copyOf(GlobalIconTheme instance)
GlobalIconTheme
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 ImmutableGlobalIconTheme.Builder builder()
ImmutableGlobalIconTheme
.
ImmutableGlobalIconTheme.builder() .setColor1(String) // requiredcolor1
.setColor2(String) // requiredcolor2
.setColor3(String) // requiredcolor3
.build();
Copyright © 2023 Atlassian. All rights reserved.