Class InfoMarker


  • public class InfoMarker
    extends java.lang.Object

    This class represents a marker for passing values to other tasks. In the Notify task configuration, some fields can contains markers which are replaced by the actual value of the resource when the fr.paris.lutece.plugins.grubusiness.business.notification.Notification is send.

    This class has two goals:

    • To give the description of the marker in the task configuration page
    • To give the actual value of the resource at sending time

    • Constructor Summary

      Constructors 
      Constructor Description
      InfoMarker​(java.lang.String strMarker)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Gives the description of the marker.
      java.lang.String getMarker()
      Gives the marker
      java.lang.String getValue()
      Gives the value of the marker.
      void setDescription​(java.lang.String strDescription)
      Sets the description of the marker
      void setValue​(java.lang.String strValue)
      Sets the value of the marker
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InfoMarker

        public InfoMarker​(java.lang.String strMarker)
        Constructor
        Parameters:
        strMarker - the marker
    • Method Detail

      • getMarker

        public java.lang.String getMarker()
        Gives the marker
        Returns:
        the marker
      • getDescription

        public java.lang.String getDescription()

        Gives the description of the marker.

        Used in the task configuration page

        Returns:
        the description
      • setDescription

        public void setDescription​(java.lang.String strDescription)
        Sets the description of the marker
        Parameters:
        strDescription - the description to set
      • getValue

        public java.lang.String getValue()

        Gives the value of the marker. The value is the actual value of the resource.

        Used when the notification is sent

        Returns:
        the value
      • setValue

        public void setValue​(java.lang.String strValue)
        Sets the value of the marker
        Parameters:
        strValue - the value to set