Enum Class EMailService.Template
java.lang.Object
java.lang.Enum<EMailService.Template>
de.gustavblass.fsu.fmi.roombooking.service.EMailService.Template
- All Implemented Interfaces:
Serializable, Comparable<EMailService.Template>, Constable
- Enclosing class:
EMailService
Represents the templates available for e-mails to be sent to end users.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAsks the user to confirm their newActor.eMailAddressby opening the link with theEMailVerificationToken.Informs the user that they must open the confirmation link with theVerificationTokenin order to activate their new account.INforms the user that theirReservationwas accepted by the system. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EMailService.TemplateReturns the enum constant of this class with the specified name.static EMailService.Template[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONFIRM_REGISTRATION
Informs the user that they must open the confirmation link with theVerificationTokenin order to activate their new account. -
CONFIRM_EMAIL_CHANGE
Asks the user to confirm their newActor.eMailAddressby opening the link with theEMailVerificationToken. -
RESERVATION_CONFIRMATION
INforms the user that theirReservationwas accepted by the system.
-
-
Field Details
-
template
-
-
Constructor Details
-
Template
-
-
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
-