public enum CommandResponseType extends Enum<CommandResponseType> implements HasCode<CommandResponseType>
CommandResponse| Modifier and Type | Class and Description |
|---|---|
static class |
CommandResponseType.CommandResponseTypeDeserializer |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static CommandResponseType |
of(String code) |
static CommandResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandResponseType InChannel
public static final CommandResponseType Ephemeral
public static CommandResponseType[] values()
for (CommandResponseType c : CommandResponseType.values()) System.out.println(c);
public static CommandResponseType 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 getCode()
getCode in interface HasCode<CommandResponseType>public static CommandResponseType of(String code)
Copyright © 2018. All rights reserved.