org.gcube.messaging.common.consumer.notifier
Class Notifier

java.lang.Object
  extended by 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
 
Method Summary
 void enqueue(Notification notification)
          enqueue the notification
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static org.gcube.common.core.utils.logging.GCUBELog logger
logger

Constructor Detail

Notifier

public Notifier(boolean notifyByMail)
Constructor

Parameters:
notifyByMail - if notif by mail or not
Method Detail

enqueue

public void enqueue(Notification notification)
enqueue the notification

Parameters:
notification - the notification

run

public void run()

Specified by:
run in interface Runnable


Copyright © 2014. All Rights Reserved.