public enum ApiCommand extends Enum<ApiCommand>
| Enum Constant and Description |
|---|
CLEAR |
COUNT |
GET |
INVALID |
RELAY |
SERVER_STATUS |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand() |
static ApiCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiCommand COUNT
public static final ApiCommand CLEAR
public static final ApiCommand GET
public static final ApiCommand RELAY
public static final ApiCommand INVALID
public static final ApiCommand SERVER_STATUS
public static ApiCommand[] values()
for (ApiCommand c : ApiCommand.values()) System.out.println(c);
public static ApiCommand 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 getCommand()
Copyright © 2015. All rights reserved.