hicosim.components.backend.io
Enum Command

java.lang.Object
  extended by java.lang.Enum<Command>
      extended by hicosim.components.backend.io.Command
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Command>

public enum Command
extends java.lang.Enum<Command>

Enumeration for all HICOSIM Console-Input-Commands

Author:
Michael Wager 16th May 2009

Enum Constant Summary
BREAKPOINT
           
BUTTONS
           
CLEAR
           
CONFIG
           
DELETE
           
DISAS
           
DUMMY
           
EXIT
           
GET
           
HELP
           
HELP_BREAK
           
HELP_CONFIG
           
HELP_DELETEBR
           
HELP_GET
           
HELP_INFO
           
HELP_LIST
           
HELP_OPEN
           
HELP_RESET
           
HELP_SET
           
HELP_SETR
           
HELP_VGA
           
HELP_WATCHPOINT
           
INFO
           
LIST
           
OPEN
           
RESET
           
RUN
           
SET
           
SETR
           
STEP
           
VGA
           
WATCHMEM
           
WATCHPOINT
           
 
Method Summary
 java.lang.Object[] getParams()
           
 java.lang.String getToken()
           
 void setParams(java.lang.Object[] params)
           
static Command valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Command[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DUMMY

public static final Command DUMMY

EXIT

public static final Command EXIT

HELP

public static final Command HELP

HELP_DELETEBR

public static final Command HELP_DELETEBR

HELP_BREAK

public static final Command HELP_BREAK

HELP_WATCHPOINT

public static final Command HELP_WATCHPOINT

HELP_GET

public static final Command HELP_GET

HELP_SET

public static final Command HELP_SET

HELP_SETR

public static final Command HELP_SETR

HELP_OPEN

public static final Command HELP_OPEN

HELP_RESET

public static final Command HELP_RESET

HELP_LIST

public static final Command HELP_LIST

HELP_INFO

public static final Command HELP_INFO

HELP_CONFIG

public static final Command HELP_CONFIG

HELP_VGA

public static final Command HELP_VGA

CLEAR

public static final Command CLEAR

LIST

public static final Command LIST

OPEN

public static final Command OPEN

RUN

public static final Command RUN

DELETE

public static final Command DELETE

BREAKPOINT

public static final Command BREAKPOINT

WATCHPOINT

public static final Command WATCHPOINT

STEP

public static final Command STEP

GET

public static final Command GET

SET

public static final Command SET

SETR

public static final Command SETR

RESET

public static final Command RESET

DISAS

public static final Command DISAS

CONFIG

public static final Command CONFIG

INFO

public static final Command INFO

WATCHMEM

public static final Command WATCHMEM

BUTTONS

public static final Command BUTTONS

VGA

public static final Command VGA
Method Detail

values

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

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

valueOf

public static Command valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getToken

public java.lang.String getToken()

getParams

public java.lang.Object[] getParams()

setParams

public void setParams(java.lang.Object[] params)