Class InfoMarker

java.lang.Object
fr.paris.lutece.plugins.carto.provider.InfoMarker

public class InfoMarker extends 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 Details

    • InfoMarker

      public InfoMarker(String strMarker)
      Constructor
      Parameters:
      strMarker - the marker
  • Method Details

    • getMarker

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

      public String getDescription()

      Gives the description of the marker.

      Used in the task configuration page

      Returns:
      the description
    • setDescription

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

      public 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(String strValue)
      Sets the value of the marker
      Parameters:
      strValue - the value to set