Package org.keycloak.theme.beans
Class LinkExpirationFormatterMethod
java.lang.Object
org.keycloak.theme.beans.LinkExpirationFormatterMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class LinkExpirationFormatterMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
Method used to format link expiration time period in emails.
- Author:
- Vlastimil Elias (velias at redhat dot com)
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
-
Method Summary
-
Field Details
-
messages
-
locale
-
-
Constructor Details
-
LinkExpirationFormatterMethod
-
-
Method Details
-
exec
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
-
format
-
getUnitTextFromMessages
-