org.jbpm.services.task.deadlines.notifications.impl
@ApplicationScoped public class MockNotificationListener extends Object implements NotificationListener
Constructor and Description |
---|
MockNotificationListener() |
Modifier and Type | Method and Description |
---|---|
List<org.kie.internal.task.api.model.NotificationEvent> |
getEventsRecieved() |
void |
onNotification(org.kie.internal.task.api.model.NotificationEvent event) |
void |
reset() |
public void onNotification(@Observes(notifyObserver=IF_EXISTS) org.kie.internal.task.api.model.NotificationEvent event)
onNotification
in interface NotificationListener
public List<org.kie.internal.task.api.model.NotificationEvent> getEventsRecieved()
public void reset()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.