org.opennms.netmgt.mock
Class EventAnticipator
java.lang.Object
org.opennms.netmgt.mock.EventAnticipator
- public class EventAnticipator
- extends java.lang.Object
- Author:
- brozow
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_anticipatedEvents
java.util.List m_anticipatedEvents
m_unanticipatedEvents
java.util.List m_unanticipatedEvents
EventAnticipator
public EventAnticipator()
anticipateEvent
public void anticipateEvent(Event event)
- Parameters:
event
-
eventReceived
public void eventReceived(Event event)
- Parameters:
event
-
getAnticipatedEvents
public java.util.Collection getAnticipatedEvents()
reset
public void reset()
unanticipatedEvents
public java.util.Collection unanticipatedEvents()
- Returns:
waitForAnticipated
public java.util.Collection waitForAnticipated(long millis)
- Returns:
eventProcessed
public void eventProcessed(Event event)
- Parameters:
event
-
Generated by eevans on May 29 2005 2015.