Enum Class ControllerMode

java.lang.Object
java.lang.Enum<ControllerMode>
com.jk.webstack.controllers.ControllerMode
All Implemented Interfaces:
Serializable, Comparable<ControllerMode>, Constable

public enum ControllerMode extends Enum<ControllerMode>
This enum represents different controller modes for managing data.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Enum Constant Details

    • ADD

      public static final ControllerMode ADD
      Represents the mode for adding new data.
    • EDIT

      public static final ControllerMode EDIT
      Represents the mode for editing existing data.
    • READONLY

      public static final ControllerMode READONLY
      Represents the mode for viewing data in a read-only manner.
    • WORKFLOW

      public static final ControllerMode WORKFLOW
      Represents a special mode related to workflow management.
  • Method Details

    • values

      public static ControllerMode[] 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 ControllerMode 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