public enum ChatHost extends Enum<ChatHost>
stackoverflow.com,
stackexchange.com and meta.stackexchange.com.| Enum Constant and Description |
|---|
META_STACK_EXCHANGE |
STACK_EXCHANGE |
STACK_OVERFLOW |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUrl() |
String |
getName() |
static ChatHost |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatHost[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatHost STACK_OVERFLOW
public static final ChatHost STACK_EXCHANGE
public static final ChatHost META_STACK_EXCHANGE
public static ChatHost[] values()
for (ChatHost c : ChatHost.values()) System.out.println(c);
public static ChatHost 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 getName()
stackoverflow.com).public String getBaseUrl()
https://chat.stackoverflow.com).