jBPM distribution 6.1.0.CR2

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

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

public class MockNotificationListener
extends Object
implements NotificationListener


Constructor Summary
MockNotificationListener()
           
 
Method Summary
 List<org.kie.internal.task.api.model.NotificationEvent> getEventsRecieved()
           
 void onNotification(org.kie.internal.task.api.model.NotificationEvent event)
           
 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(org.kie.internal.task.api.model.NotificationEvent event)
Specified by:
onNotification in interface NotificationListener

getEventsRecieved

public List<org.kie.internal.task.api.model.NotificationEvent> getEventsRecieved()

reset

public void reset()

jBPM distribution 6.1.0.CR2

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