Package net.gcnt.additionsplus.main
Enum ActionType
- All Implemented Interfaces:
Serializable
,Comparable<ActionType>
,java.lang.constant.Constable
List of Action types to handle certain actions accordingly.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAction that can have inline arguments.Action that requires a value to work, and cannot have any inline arguments.Action that has an opening and closing tag with arguments in between.Action that does not necessarily require a value to work, and will work without any arguments specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionType
Returns the enum constant of this type with the specified name.static ActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INNER
Action that can have inline arguments. This action often does nothing on its own and has to be combined with aNORMAL
action to work. We also call this action the 'check-action' as it often checks for a certain requirement. Example: [action=...] -
OUTER
Action that has an opening and closing tag with arguments in between. Example: [action]...[/action] -
STANDALONE
Action that does not necessarily require a value to work, and will work without any arguments specified. Example: [action] -
NORMAL
Action that requires a value to work, and cannot have any inline arguments. Example: [action]... -
COMBINED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-