com.evolveum.midpoint.notifications.notifiers
Class DummyNotifier
java.lang.Object
com.evolveum.midpoint.notifications.notifiers.DummyNotifier
- All Implemented Interfaces:
- Notifier, Dumpable
@Component
public class DummyNotifier
- extends Object
- implements Notifier, Dumpable
To be used in tests. (However, for the reasons to be included in AbstractModelIntegrationTest class,
it seems to have to live in src/main/java, not src/test/java folder.)
- Author:
- mederly
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final QName NAME
records
public List<DummyNotifier.NotificationRecord> records
DummyNotifier
public DummyNotifier()
init
@PostConstruct
public void init()
notify
public void notify(NotificationRequest request,
NotificationConfigurationEntryType notificationConfigurationEntry,
NotifierConfigurationType notifierConfiguration,
OperationResult result)
- Specified by:
notify
in interface Notifier
getRecords
public List<DummyNotifier.NotificationRecord> getRecords()
clearRecords
public void clearRecords()
dump
public String dump()
- Description copied from interface:
Dumpable
- Show the content of the object intended for diagnostics by developer.
The content may be multi-line, in case of hierarchical objects it may be intended.
The use of this method may not be efficient. It is not supposed to be used in normal operation.
However, it is very useful in tests or in case of dumping objects in severe error situations.
- Specified by:
dump
in interface Dumpable
- Returns:
- content of the object intended for diagnostics.
Copyright © 2013 evolveum. All Rights Reserved.