public static enum ServerConfigurationResponse.ColorEnum extends Enum<ServerConfigurationResponse.ColorEnum>
| Enum Constant and Description |
|---|
BLUE |
GREEN |
GREY |
PURPLE |
RED |
TURQOISE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
static ServerConfigurationResponse.ColorEnum |
fromValue(String text) |
String |
toString() |
static ServerConfigurationResponse.ColorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerConfigurationResponse.ColorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerConfigurationResponse.ColorEnum PURPLE
public static final ServerConfigurationResponse.ColorEnum BLUE
public static final ServerConfigurationResponse.ColorEnum TURQOISE
public static final ServerConfigurationResponse.ColorEnum GREEN
public static final ServerConfigurationResponse.ColorEnum RED
public static final ServerConfigurationResponse.ColorEnum YELLOW
public static final ServerConfigurationResponse.ColorEnum GREY
public static ServerConfigurationResponse.ColorEnum[] values()
for (ServerConfigurationResponse.ColorEnum c : ServerConfigurationResponse.ColorEnum.values()) System.out.println(c);
public static ServerConfigurationResponse.ColorEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ServerConfigurationResponse.ColorEnum>public static ServerConfigurationResponse.ColorEnum fromValue(String text)
Copyright © 2019. All rights reserved.