public enum ConsoleLoggerMessage extends Enum<ConsoleLoggerMessage> implements Message
| Enum Constant and Description |
|---|
CLEAR |
DEFAULT |
LIST_MESSAGES |
ON_CONSOLE_MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
static ConsoleLoggerMessage |
get(int code) |
int |
getID()
Get command id to execute on host, service definitions are available on Scope Interface
|
String |
getServiceName()
Associates a command id with a service name
|
static ConsoleLoggerMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleLoggerMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleLoggerMessage ON_CONSOLE_MESSAGE
public static final ConsoleLoggerMessage CLEAR
public static final ConsoleLoggerMessage LIST_MESSAGES
public static final ConsoleLoggerMessage DEFAULT
public static ConsoleLoggerMessage[] values()
for (ConsoleLoggerMessage c : ConsoleLoggerMessage.values()) System.out.println(c);
public static ConsoleLoggerMessage 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 int getID()
Messagepublic String getServiceName()
MessagegetServiceName in interface Messagepublic static ConsoleLoggerMessage get(int code)
Copyright © 2012. All Rights Reserved.