Enum ActionResponse.ActionType
- java.lang.Object
-
- java.lang.Enum<ActionResponse.ActionType>
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.ActionResponse.ActionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ActionResponse.ActionType>
- Enclosing class:
- ActionResponse
public static enum ActionResponse.ActionType extends Enum<ActionResponse.ActionType>
Used the actionCompleted method to know kind of operation was performed in the action and what should be done in the view; e.g add, remove, hide/show an element, refresh the component, etc
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActionResponse.ActionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActionResponse.ActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOVE
public static final ActionResponse.ActionType REMOVE
-
ADD
public static final ActionResponse.ActionType ADD
-
UPDATE
public static final ActionResponse.ActionType UPDATE
-
HIDE
public static final ActionResponse.ActionType HIDE
-
SHOW
public static final ActionResponse.ActionType SHOW
-
COPY
public static final ActionResponse.ActionType COPY
-
MOVE
public static final ActionResponse.ActionType MOVE
-
RELEASE
public static final ActionResponse.ActionType RELEASE
-
RELATE
public static final ActionResponse.ActionType RELATE
-
-
Method Detail
-
values
public static ActionResponse.ActionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ActionResponse.ActionType c : ActionResponse.ActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionResponse.ActionType valueOf(String name)
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
-
-