org.jbpm.task.deadlines.notifications.impl
Class MockNotificationListener

java.lang.Object
  extended by org.jbpm.task.deadlines.notifications.impl.MockNotificationListener
All Implemented Interfaces:
NotificationListener

@Singleton
public class MockNotificationListener
extends Object
implements NotificationListener


Constructor Summary
MockNotificationListener()
           
 
Method Summary
static List<NotificationEvent> getEventsRecieved()
           
 void onNotification(NotificationEvent event)
           
static void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockNotificationListener

public MockNotificationListener()
Method Detail

onNotification

public void onNotification(@Observes(notifyObserver=ALWAYS)
                           NotificationEvent event)
Specified by:
onNotification in interface NotificationListener

getEventsRecieved

public static List<NotificationEvent> getEventsRecieved()

reset

public static void reset()


Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.