Notifier (consumer-service 1.9.2-3.5.0 API)
Date: 2014-11-12

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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static org.gcube.common.core.utils.logging.GCUBELog` | `logger` logger

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Notifier(boolean notifyByMail)` Constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.