|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DesktopUtilsCommand>
com.opera.core.systems.scope.DesktopUtilsCommand
public enum DesktopUtilsCommand
This enum maps the commands
| Enum Constant Summary | |
|---|---|
DEFAULT
|
|
GET_CACHE_PREFERENCES_PATH
|
|
GET_LARGE_PREFERENCES_PATH
|
|
GET_OPERA_PATH
|
|
GET_OPERA_PID
|
|
GET_SMALL_PREFERENCES_PATH
|
|
GET_STRING
|
|
| Method Summary | |
|---|---|
static DesktopUtilsCommand |
get(int code)
|
int |
getCommandID()
Get command id to execute on host, service definitions are available on Scope Interface |
java.lang.String |
getServiceName()
Associates a command id with a service name |
static DesktopUtilsCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DesktopUtilsCommand[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DesktopUtilsCommand GET_STRING
public static final DesktopUtilsCommand GET_OPERA_PATH
public static final DesktopUtilsCommand GET_LARGE_PREFERENCES_PATH
public static final DesktopUtilsCommand GET_SMALL_PREFERENCES_PATH
public static final DesktopUtilsCommand GET_CACHE_PREFERENCES_PATH
public static final DesktopUtilsCommand GET_OPERA_PID
public static final DesktopUtilsCommand DEFAULT
| Method Detail |
|---|
public static DesktopUtilsCommand[] values()
for (DesktopUtilsCommand c : DesktopUtilsCommand.values()) System.out.println(c);
public static DesktopUtilsCommand valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getCommandID()
ICommand
getCommandID in interface ICommandpublic java.lang.String getServiceName()
ICommand
getServiceName in interface ICommandpublic static DesktopUtilsCommand get(int code)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||