jde.debugger
Class CommandEvent
java.lang.Object
|
+--java.util.EventObject
|
+--jde.debugger.CommandEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class CommandEvent
- extends java.util.EventObject
This class is the event sent to interested clients when JDEE
sends a command.
Created: 3/18/03 6:02pm.
- Since:
- 2.3.2
- Version:
- $Revision: 1.1 $
- Author:
- Troy Daniels
- See Also:
CommandListener
, Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
CommandEvent(java.lang.Integer procId,
java.lang.Integer cmdId,
java.lang.String cmdName,
java.util.List args)
Constructor. |
Method Summary |
boolean |
equals(java.lang.Object other)
Tests two command events for equality. |
java.util.List |
getArgs()
Gets the command arguments |
java.lang.Integer |
getCmdId()
Gets the value of command ID |
java.lang.String |
getCmdName()
Gets the value of command name |
java.lang.Integer |
getProcId()
Gets the value of the process ID |
int |
hashCode()
Hash code that is consistent with equals. |
java.lang.String |
toString()
String representation for debugging. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CommandEvent
public CommandEvent(java.lang.Integer procId,
java.lang.Integer cmdId,
java.lang.String cmdName,
java.util.List args)
- Constructor.
- Parameters:
procId
- The process IDcmdId
- The command IDcmdName
- The command nameargs
- The arguments. This list is copied, so changes to
argument do not affect this object.
getProcId
public java.lang.Integer getProcId()
- Gets the value of the process ID
- Returns:
- the value of procId
getCmdId
public java.lang.Integer getCmdId()
- Gets the value of command ID
- Returns:
- the value of cmdId
getCmdName
public java.lang.String getCmdName()
- Gets the value of command name
- Returns:
- the value of cmdName
getArgs
public java.util.List getArgs()
- Gets the command arguments
- Returns:
- the value of args
equals
public boolean equals(java.lang.Object other)
- Tests two command events for equality. Two CommandEvents are
considered equal if they have the same command id's.
- Overrides:
equals
in class java.lang.Object
- See Also:
hashCode()
hashCode
public int hashCode()
- Hash code that is consistent with equals.
- Overrides:
hashCode
in class java.lang.Object
- See Also:
equals(java.lang.Object)
toString
public java.lang.String toString()
- String representation for debugging.
- Overrides:
toString
in class java.util.EventObject