public enum SlackDataSource extends Enum<SlackDataSource>
| Enum Constant and Description |
|---|
CHANNELS
Select from channels in team
|
CONVERSATIONS
Select from direct messages in team
|
EXTERNAL
Hit interactive endpoint to populate
|
STATIC
Provided in the body
|
USERS
Select from slack users in team
|
| Modifier and Type | Method and Description |
|---|---|
static SlackDataSource |
get(String key) |
String |
toString() |
static SlackDataSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SlackDataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SlackDataSource STATIC
public static final SlackDataSource USERS
public static final SlackDataSource CHANNELS
public static final SlackDataSource CONVERSATIONS
public static final SlackDataSource EXTERNAL
public static SlackDataSource[] values()
for (SlackDataSource c : SlackDataSource.values()) System.out.println(c);
public static SlackDataSource 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 SlackDataSource get(String key) throws UnmappedKeyException
UnmappedKeyExceptionpublic String toString()
toString in class Enum<SlackDataSource>Copyright © 2019. All rights reserved.