com.opera.core.systems.scope
Enum ESDebuggerCommand

java.lang.Object
  extended by java.lang.Enum<ESDebuggerCommand>
      extended by com.opera.core.systems.scope.ESDebuggerCommand
All Implemented Interfaces:
ICommand, Serializable, Comparable<ESDebuggerCommand>

public enum ESDebuggerCommand
extends Enum<ESDebuggerCommand>
implements ICommand

This enum maps the commands for the EcmascriptDebugger 6.0.


Enum Constant Summary
DEFAULT
           
EVAL
           
EXAMINE_OBJECTS
           
HANDLE_EVENT
           
INSPECT_DOM
           
LIST_RUNTIMES
           
NEW_SCRIPT
           
OBJECT_SELECTED
           
PARSE_ERROR
           
RELEASE_OBJECTS
           
RUNTIME_STARTED
           
RUNTIME_STOPPED
           
SET_CONFIGURATION
           
THREAD_FINISHED
           
THREAD_STARTED
           
THREAD_STOPPED_AT
           
 
Method Summary
static ESDebuggerCommand get(int code)
           
 int getCommandID()
          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 ESDebuggerCommand valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ESDebuggerCommand[] 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

LIST_RUNTIMES

public static final ESDebuggerCommand LIST_RUNTIMES

EVAL

public static final ESDebuggerCommand EVAL

INSPECT_DOM

public static final ESDebuggerCommand INSPECT_DOM

EXAMINE_OBJECTS

public static final ESDebuggerCommand EXAMINE_OBJECTS

SET_CONFIGURATION

public static final ESDebuggerCommand SET_CONFIGURATION

RELEASE_OBJECTS

public static final ESDebuggerCommand RELEASE_OBJECTS

RUNTIME_STARTED

public static final ESDebuggerCommand RUNTIME_STARTED

RUNTIME_STOPPED

public static final ESDebuggerCommand RUNTIME_STOPPED

NEW_SCRIPT

public static final ESDebuggerCommand NEW_SCRIPT

THREAD_STARTED

public static final ESDebuggerCommand THREAD_STARTED

THREAD_FINISHED

public static final ESDebuggerCommand THREAD_FINISHED

THREAD_STOPPED_AT

public static final ESDebuggerCommand THREAD_STOPPED_AT

HANDLE_EVENT

public static final ESDebuggerCommand HANDLE_EVENT

OBJECT_SELECTED

public static final ESDebuggerCommand OBJECT_SELECTED

PARSE_ERROR

public static final ESDebuggerCommand PARSE_ERROR

DEFAULT

public static final ESDebuggerCommand DEFAULT
Method Detail

values

public static ESDebuggerCommand[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ESDebuggerCommand c : ESDebuggerCommand.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ESDebuggerCommand valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCommandID

public int getCommandID()
Description copied from interface: ICommand
Get command id to execute on host, service definitions are available on Scope Interface

Specified by:
getCommandID in interface ICommand
Returns:
The id associated with the command

getServiceName

public String getServiceName()
Description copied from interface: ICommand
Associates a command id with a service name

Specified by:
getServiceName in interface ICommand
Returns:
Name of the service the command belongs to

get

public static ESDebuggerCommand get(int code)


Copyright © 2012. All Rights Reserved.