Interface IMarkerProvider
public interface IMarkerProvider
This interface represents a provider of NotifyGru markers
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Gives the id.Gives the i18n key of the titleprovideMarkerDescriptions(String solrTag, jakarta.servlet.http.HttpServletRequest request) Gives the marker descriptionsprovideMarkerValues(String solrTag, String uid) Provides the values of the markers.valueMarker(String marker, String solrTag, String uid)
-
Method Details
-
getId
String getId()Gives the id.
The id is used to find which marker providers have to be used in the task. The id must be unique among the marker providers.
- Returns:
- the id
-
getTitleI18nKey
String getTitleI18nKey()Gives the i18n key of the title- Returns:
- the i18n key of the title
-
provideMarkerDescriptions
Collection<InfoMarker> provideMarkerDescriptions(String solrTag, jakarta.servlet.http.HttpServletRequest request) Gives the marker descriptions
Used in the task configuration page (in order to add markers in rich texts for example)
- Returns:
- the marker descriptions
-
provideMarkerValues
Provides the values of the markers.
This method is used to replace the markers by the actual values of the resource when the notification id send.
- Parameters:
request- the request- Returns:
- the value of the markers
-
valueMarker
-