Class TaskDigestLinePlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.commons.digest.plugin.DigestLinePlugin
io.meeds.task.digest.TaskDigestLinePlugin
All Implemented Interfaces:
io.meeds.commons.digest.plugin.DigestLineProvider, org.exoplatform.container.component.ComponentPlugin

public class TaskDigestLinePlugin extends io.meeds.commons.digest.plugin.DigestLinePlugin
The digest email lines of the task notifications: assigned, added as coworker, mentioned. The task and its project are read fresh from the stored task id; a deleted task gives no line.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    TaskDigestLinePlugin(org.exoplatform.container.xml.InitParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.meeds.commons.digest.model.DigestLine
    buildLine(io.meeds.commons.digest.model.DigestItem item, io.meeds.commons.digest.plugin.DigestLineContext context)
     
    protected String
    url(io.meeds.commons.digest.model.DigestItem item, TaskDto task)
    The link the instant email used when it was stored, otherwise the task detail page of the platform

    Methods inherited from class io.meeds.commons.digest.plugin.DigestLinePlugin

    getPluginIds

    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
  • Field Details

  • Constructor Details

    • TaskDigestLinePlugin

      public TaskDigestLinePlugin(org.exoplatform.container.xml.InitParams params)
  • Method Details

    • buildLine

      public io.meeds.commons.digest.model.DigestLine buildLine(io.meeds.commons.digest.model.DigestItem item, io.meeds.commons.digest.plugin.DigestLineContext context)
    • url

      protected String url(io.meeds.commons.digest.model.DigestItem item, TaskDto task)
      The link the instant email used when it was stored, otherwise the task detail page of the platform