public enum ConversationType extends Enum<ConversationType>
| Enum Constant and Description |
|---|
IM |
MPIM |
PRIVATE_CHANNEL |
PUBLIC_CHANNEL |
| Modifier and Type | Method and Description |
|---|---|
static ConversationType |
get(String key) |
String |
toString() |
static ConversationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversationType PUBLIC_CHANNEL
public static final ConversationType PRIVATE_CHANNEL
public static final ConversationType MPIM
public static final ConversationType IM
public static ConversationType[] values()
for (ConversationType c : ConversationType.values()) System.out.println(c);
public static ConversationType 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 static ConversationType get(String key) throws UnmappedKeyException
UnmappedKeyExceptionpublic String toString()
toString in class Enum<ConversationType>Copyright © 2019. All rights reserved.