Class ConsoleChannel

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.notification.channel.AbstractChannel
org.exoplatform.commons.notification.channel.ConsoleChannel
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class ConsoleChannel extends org.exoplatform.commons.api.notification.channel.AbstractChannel
Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Dec 12, 2014
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dispatch(org.exoplatform.commons.api.notification.NotificationContext ctx, String userId)
     
     
    org.exoplatform.commons.api.notification.model.ChannelKey
     
    protected org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
    getTemplateBuilderInChannel(org.exoplatform.commons.api.notification.model.PluginKey key)
     
    void
    registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)
     

    Methods inherited from class org.exoplatform.commons.api.notification.channel.AbstractChannel

    dispatch, end, getLifecycle, getTemplateBuilder, getTemplateFilePath, hasTemplateBuilder, isDefaultChannel, isEnabled, setEnabled, start

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConsoleChannel

      public ConsoleChannel()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in class org.exoplatform.commons.api.notification.channel.AbstractChannel
    • getKey

      public org.exoplatform.commons.api.notification.model.ChannelKey getKey()
      Specified by:
      getKey in class org.exoplatform.commons.api.notification.channel.AbstractChannel
    • dispatch

      public void dispatch(org.exoplatform.commons.api.notification.NotificationContext ctx, String userId)
      Specified by:
      dispatch in class org.exoplatform.commons.api.notification.channel.AbstractChannel
    • registerTemplateProvider

      public void registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)
      Specified by:
      registerTemplateProvider in class org.exoplatform.commons.api.notification.channel.AbstractChannel
    • getTemplateBuilderInChannel

      protected org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder getTemplateBuilderInChannel(org.exoplatform.commons.api.notification.model.PluginKey key)
      Specified by:
      getTemplateBuilderInChannel in class org.exoplatform.commons.api.notification.channel.AbstractChannel