com.ibm.eNetwork.beans.HOD.event
Class MacroTraceEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.eNetwork.beans.HOD.event.HODEvent
|
+--com.ibm.eNetwork.beans.HOD.event.MacroTraceEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class MacroTraceEvent
- extends com.ibm.eNetwork.beans.HOD.event.HODEvent
Event fired to MacroRuntimeListener.macroTraceEvent(). Fired if
the Macro bean processes a trace command during a macro play.
- See Also:
- Serialized Form
Field Summary |
static int |
TRACE_HOD
Trace data will be sent to the HOD trace facility. |
static int |
TRACE_SYSOUT
Trace data will be sent to the command line. |
static int |
TRACE_USER
Trace data will be fired to any registered listeners. |
Constructor Summary |
MacroTraceEvent(Macro macro,
int argType,
java.lang.String argData)
Constructs a working instance of a macro trace event. |
Method Summary |
java.lang.String |
getData()
Returns the data text for the trace event. |
int |
getType()
Returns the trace type for the trace event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TRACE_HOD
public static final int TRACE_HOD
- Trace data will be sent to the HOD trace facility.
TRACE_USER
public static final int TRACE_USER
- Trace data will be fired to any registered listeners.
TRACE_SYSOUT
public static final int TRACE_SYSOUT
- Trace data will be sent to the command line.
MacroTraceEvent
public MacroTraceEvent(Macro macro,
int argType,
java.lang.String argData)
- Constructs a working instance of a macro trace event.
- Parameters:
macro
- Macro bean that is the source of the eventargType
- trace type for the eventargData
- trace data text for the event
getData
public java.lang.String getData()
- Returns the data text for the trace event.
- Returns:
- trace data string
getType
public int getType()
- Returns the trace type for the trace event.
- Returns:
- trace type