|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ScopeCommand>
com.opera.core.systems.scope.ScopeCommand
public enum ScopeCommand
This enum maps the commands for the Scope 1.0.
| Enum Constant Summary | |
|---|---|
CONNECT
|
|
DEFAULT
|
|
DISABLE
|
|
DISCONNECT
|
|
ENABLE
|
|
HOST_INFO
|
|
INFO
|
|
MESSAGE_INFO
|
|
QUIT
|
|
| Method Summary | |
|---|---|
static ScopeCommand |
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 ScopeCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ScopeCommand[] |
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 ScopeCommand CONNECT
public static final ScopeCommand DISCONNECT
public static final ScopeCommand ENABLE
public static final ScopeCommand DISABLE
public static final ScopeCommand INFO
public static final ScopeCommand QUIT
public static final ScopeCommand HOST_INFO
public static final ScopeCommand MESSAGE_INFO
public static final ScopeCommand DEFAULT
| Method Detail |
|---|
public static ScopeCommand[] values()
for (ScopeCommand c : ScopeCommand.values()) System.out.println(c);
public static ScopeCommand 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 ScopeCommand get(int code)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||