Package io.meeds.commons.digest.model
Class DigestLine
java.lang.Object
io.meeds.commons.digest.model.DigestLine
One line of a digest email, built by the addon owning the notification type.
It holds text only, never HTML: the wording is a translation key of the
addon notification bundle, its placeholders {0}, {1}... are replaced by the
given arguments in order (plain replacement, the same convention as the
other notification bundles: no quoting rule, apostrophes stay single), and
the layout is the job of the email template. The arguments are escaped by
the digest before being put in the email, the addon gives them raw.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DigestLine
public DigestLine()
-
-
Method Details
-
of
- Parameters:
labelKey- the wording keyargs- the values of its placeholders, in order; a null value is an empty placeholder, never an error- Returns:
- the line, without link yet: see
withUrl(String)
-
withUrl
-