public enum DesktopUtilsMessage extends Enum<DesktopUtilsMessage> implements Message
| Enum Constant and Description |
|---|
DEFAULT |
GET_CACHE_PREFERENCES_PATH |
GET_LARGE_PREFERENCES_PATH |
GET_OPERA_PATH |
GET_OPERA_PID |
GET_SMALL_PREFERENCES_PATH |
GET_STRING |
| Modifier and Type | Method and Description |
|---|---|
static DesktopUtilsMessage |
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 DesktopUtilsMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DesktopUtilsMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DesktopUtilsMessage GET_STRING
public static final DesktopUtilsMessage GET_OPERA_PATH
public static final DesktopUtilsMessage GET_LARGE_PREFERENCES_PATH
public static final DesktopUtilsMessage GET_SMALL_PREFERENCES_PATH
public static final DesktopUtilsMessage GET_CACHE_PREFERENCES_PATH
public static final DesktopUtilsMessage GET_OPERA_PID
public static final DesktopUtilsMessage DEFAULT
public static DesktopUtilsMessage[] values()
for (DesktopUtilsMessage c : DesktopUtilsMessage.values()) System.out.println(c);
public static DesktopUtilsMessage 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 DesktopUtilsMessage get(int code)
Copyright © 2013. All Rights Reserved.