eu.scape_project.watch.notification
Class DummyNotificationAdaptor
java.lang.Object
eu.scape_project.watch.notification.DummyNotificationAdaptor
- All Implemented Interfaces:
- eu.scape_project.watch.interfaces.NotificationAdaptorInterface, eu.scape_project.watch.interfaces.PluginInterface
public class DummyNotificationAdaptor
- extends Object
- implements eu.scape_project.watch.interfaces.NotificationAdaptorInterface
Notification adaptor to be used in tests.
- Author:
- Luis Faria
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_TYPE
public static final String TEST_TYPE
- Test notification type.
- See Also:
- Constant Field Values
DummyNotificationAdaptor
public DummyNotificationAdaptor()
getSupportedTypes
public Set<String> getSupportedTypes()
- Specified by:
getSupportedTypes
in interface eu.scape_project.watch.interfaces.NotificationAdaptorInterface
send
public boolean send(eu.scape_project.watch.domain.Notification notification)
- Specified by:
send
in interface eu.scape_project.watch.interfaces.NotificationAdaptorInterface
getNotifications
public List<eu.scape_project.watch.domain.Notification> getNotifications()
isConsumeEvent
public boolean isConsumeEvent()
setConsumeEvent
public void setConsumeEvent(boolean consumeEvent)
init
public void init()
throws eu.scape_project.watch.utils.exceptions.PluginException
- Specified by:
init
in interface eu.scape_project.watch.interfaces.PluginInterface
- Throws:
eu.scape_project.watch.utils.exceptions.PluginException
shutdown
public void shutdown()
throws eu.scape_project.watch.utils.exceptions.PluginException
- Specified by:
shutdown
in interface eu.scape_project.watch.interfaces.PluginInterface
- Throws:
eu.scape_project.watch.utils.exceptions.PluginException
getName
public String getName()
- Specified by:
getName
in interface eu.scape_project.watch.interfaces.PluginInterface
getVersion
public String getVersion()
- Specified by:
getVersion
in interface eu.scape_project.watch.interfaces.PluginInterface
getDescription
public String getDescription()
- Specified by:
getDescription
in interface eu.scape_project.watch.interfaces.PluginInterface
getPluginType
public eu.scape_project.watch.plugin.PluginType getPluginType()
- Specified by:
getPluginType
in interface eu.scape_project.watch.interfaces.PluginInterface
getParametersInfo
public Map<String,eu.scape_project.watch.domain.DataType> getParametersInfo()
- Specified by:
getParametersInfo
in interface eu.scape_project.watch.interfaces.NotificationAdaptorInterface
Copyright © 2012. All Rights Reserved.