Enum Class ActorController.Template
java.lang.Object
java.lang.Enum<ActorController.Template>
de.gustavblass.fsu.fmi.roombooking.controller.ActorController.Template
- All Implemented Interfaces:
Serializable, Comparable<ActorController.Template>, Constable
- Enclosing class:
ActorController
Represents templates in the resources, allowing one or several Actors to be rendered as HTML.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe path to the HTML resource file where the user can update their login credentials.The path to the HTML resource file telling the user they changed their password successfully.The path to the HTML resource file used as a template for a page that asks the user to confirm their registration.The path to the HTML resource file used as a template for a list of Actors.The path to the HTML resource file that tells the user that they successfully confirmed their new e-mail address.The path to the HTML resource file used as a template for a registration page.The path to the HTML resource file that tells the user that they successfully confirmed their registration.Confirmation page after signing up.The path to the HTML resource file used as a template for oneActor. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActorController.TemplateReturns the enum constant of this class with the specified name.static ActorController.Template[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE
The path to the HTML resource file used as a template for oneActor. -
LIST
The path to the HTML resource file used as a template for a list of Actors. -
REGISTER
The path to the HTML resource file used as a template for a registration page. -
CONFIRM_REGISTRATION
The path to the HTML resource file used as a template for a page that asks the user to confirm their registration. -
REGISTRATION_SUCCESS
Confirmation page after signing up. -
REGISTRATION_CONFIRMATION
The path to the HTML resource file that tells the user that they successfully confirmed their registration. -
CHANGE_PASSWORD
The path to the HTML resource file where the user can update their login credentials. -
CHANGE_PASSWORD_SUCCESS
The path to the HTML resource file telling the user they changed their password successfully. -
NEW_EMAIL_CONFIRMATION
The path to the HTML resource file that tells the user that they successfully confirmed their new e-mail address.
-
-
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
-