|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.base.testing.EventCatcherRecord
public class EventCatcherRecord
Information about a single event that was caught by an
EventCatcher
Field Summary | |
---|---|
private java.lang.String |
callingThread_
|
private java.util.EventObject |
event_
|
private java.lang.reflect.Method |
method_
|
Constructor Summary | |
---|---|
EventCatcherRecord(java.lang.reflect.Method method,
java.util.EventObject event)
Create a new Record |
Method Summary | |
---|---|
java.util.EventObject |
getEvent()
Return the event that had been caught. |
java.lang.reflect.Method |
getMethod()
Return the method that had been invoked with the specified event. |
java.lang.String |
getThreadName()
Return the name of the thread that the event was called on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.reflect.Method method_
private final java.util.EventObject event_
private final java.lang.String callingThread_
Constructor Detail |
---|
public EventCatcherRecord(java.lang.reflect.Method method, java.util.EventObject event)
method
- The method that caught the event.event
- The event that was caught.Method Detail |
---|
public java.lang.reflect.Method getMethod()
public java.util.EventObject getEvent()
public java.lang.String getThreadName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |