org.gcube.messaging.common.consumer.notifier
Class Notifier
java.lang.Object
org.gcube.messaging.common.consumer.notifier.Notifier
- All Implemented Interfaces:
- Runnable
public class Notifier
- extends Object
- implements Runnable
Notifier class
- Author:
- Andrea Manzi(CERN)
Field Summary |
static org.gcube.common.core.utils.logging.GCUBELog |
logger
logger |
Constructor Summary |
Notifier(boolean notifyByMail)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.gcube.common.core.utils.logging.GCUBELog logger
- logger
Notifier
public Notifier(boolean notifyByMail)
- Constructor
- Parameters:
notifyByMail
- if notif by mail or not
enqueue
public void enqueue(Notification notification)
- enqueue the notification
- Parameters:
notification
- the notification
run
public void run()
-
- Specified by:
run
in interface Runnable
Copyright © 2013. All Rights Reserved.