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

public static enum ActorController.Template extends Enum<ActorController.Template>
  • Enum Constant Details

    • SINGLE

      public static final ActorController.Template SINGLE
      The path to the HTML resource file used as a template for one Actor.
    • LIST

      public static final ActorController.Template LIST
      The path to the HTML resource file used as a template for a list of Actors.
    • REGISTER

      public static final ActorController.Template REGISTER
      The path to the HTML resource file used as a template for a registration page.
    • CONFIRM_REGISTRATION

      public static final ActorController.Template 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

      public static final ActorController.Template REGISTRATION_SUCCESS
      Confirmation page after signing up.
    • REGISTRATION_CONFIRMATION

      public static final ActorController.Template REGISTRATION_CONFIRMATION
      The path to the HTML resource file that tells the user that they successfully confirmed their registration.
    • CHANGE_PASSWORD

      public static final ActorController.Template CHANGE_PASSWORD
      The path to the HTML resource file where the user can update their login credentials.
    • CHANGE_PASSWORD_SUCCESS

      public static final ActorController.Template CHANGE_PASSWORD_SUCCESS
      The path to the HTML resource file telling the user they changed their password successfully.
    • NEW_EMAIL_CONFIRMATION

      public static final ActorController.Template 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

      public final String template
  • Constructor Details

    • Template

      private Template(@NonNull @NonNull String template)
  • Method Details

    • values

      public static ActorController.Template[] 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

      public static ActorController.Template valueOf(String name)
      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 name
      NullPointerException - if the argument is null