Enum Class BaseAction.ActionType

java.lang.Object
java.lang.Enum<BaseAction.ActionType>
ch.tocco.nice2.model.form.api.form2.components.BaseAction.ActionType
All Implemented Interfaces:
Serializable, Comparable<BaseAction.ActionType>, Constable
Enclosing interface:
BaseAction

public static enum BaseAction.ActionType extends Enum<BaseAction.ActionType>
The action type describes of what kind the action is.
  • Enum Constant Details

    • SIMPLE

      public static final BaseAction.ActionType SIMPLE
      Simple actions basically just call a REST endpoint. The REST endpoint can send back client questions to handle user input.
    • CUSTOM

      public static final BaseAction.ActionType CUSTOM
      Custom actions should only be used, if a GUI must be provided which can not be satisfied with client questions. Custom actions call a sub app and pass the selection to it.
    • REPORT

      public static final BaseAction.ActionType REPORT
    • LEGACY

      public static final BaseAction.ActionType LEGACY
      Legacy actions implemented for the legacy client that are embedded in the new client.
  • Method Details

    • values

      public static BaseAction.ActionType[] 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 BaseAction.ActionType 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