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
The action type describes of what kind the action is.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCustom actions should only be used, if a GUI must be provided which can not be satisfied with client questions.Legacy actions implemented for the legacy client that are embedded in the new client.Simple actions basically just call a REST endpoint. -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseAction.ActionType
Returns the enum constant of this class with the specified name.static BaseAction.ActionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIMPLE
Simple actions basically just call a REST endpoint. The REST endpoint can send back client questions to handle user input. -
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
-
LEGACY
Legacy actions implemented for the legacy client that are embedded in the new client.
-
-
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
-