OpenNMS API 1.2.0

org.opennms.netmgt.notifd.mock
Class NotificationAnticipator

java.lang.Object
  extended byorg.opennms.netmgt.notifd.mock.NotificationAnticipator

public class NotificationAnticipator
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

Field Summary
(package private)  java.util.List m_anticipated
           
(package private)  java.util.List m_unanticipated
           
 
Constructor Summary
NotificationAnticipator()
           
 
Method Summary
 void anticipateNotification(MockNotification mn)
           
 java.util.Collection getAnticipatedNotifications()
           
 java.util.Collection getUnanticipated()
           
 void notificationReceived(MockNotification mn)
           
 void reset()
           
 java.util.Collection waitForAnticipated(long millis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_anticipated

java.util.List m_anticipated

m_unanticipated

java.util.List m_unanticipated
Constructor Detail

NotificationAnticipator

public NotificationAnticipator()
Method Detail

anticipateNotification

public void anticipateNotification(MockNotification mn)

notificationReceived

public void notificationReceived(MockNotification mn)

getAnticipatedNotifications

public java.util.Collection getAnticipatedNotifications()

reset

public void reset()

getUnanticipated

public java.util.Collection getUnanticipated()
Returns:

waitForAnticipated

public java.util.Collection waitForAnticipated(long millis)
Returns:

OpenNMS API 1.2.0

Generated by eevans on February 15 2005 0142.