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