Enum Class MailTemplateMacro
- All Implemented Interfaces:
Serializable
,Comparable<MailTemplateMacro>
,Constable
Text macros used by
MailTemplateRenderer
to dynamically generate values for emails sent by Crowd.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRecipient's active statusAdministrator contact macro key.Change password link macro key.Current date macro key.Days until password will expire macro key.Crowd deployment title macro key.Recipient's email address macro key.Recipient's first name macro key.Recipient's last name macro key.Deprecated.Password reset link macro key.Recipient's username macro key. -
Method Summary
Modifier and TypeMethodDescriptiongetMacro()
static MailTemplateMacro
Returns the enum constant of this class with the specified name.static MailTemplateMacro[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATE
Current date macro key. -
DEPLOYMENT_TITLE
Crowd deployment title macro key. -
ADMIN_CONTACT
Administrator contact macro key. -
USERNAME
Recipient's username macro key. -
FIRSTNAME
Recipient's first name macro key. -
LASTNAME
Recipient's last name macro key. -
PASSWORD
Deprecated.Forgotten login key. For backwards compatibility only. -
DAYS_TO_PASSWORD_EXPIRATION
Days until password will expire macro key. -
CHANGE_PASSWORD_LINK
Change password link macro key. -
ACTIVE
Recipient's active status -
RESET_LINK
Password reset link macro key. -
EMAIL
Recipient's email address macro key.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getMacro
-