Package com.axelor.meta.schema.actions
Class ActionGroup
- java.lang.Object
-
- com.axelor.meta.schema.actions.Action
-
- com.axelor.meta.schema.actions.ActionResumable
-
- com.axelor.meta.schema.actions.ActionGroup
-
public class ActionGroup extends ActionResumable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActionGroup.ActionItem
-
Nested classes/interfaces inherited from class com.axelor.meta.schema.actions.Action
Action.Element
-
-
Constructor Summary
Constructors Constructor Description ActionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAction(String name)
protected ActionGroup
copy()
Object
evaluate(ActionHandler handler)
List<ActionGroup.ActionItem>
getActions()
void
setActions(List<ActionGroup.ActionItem> actions)
void
validate()
Validate the action sequence in the group.-
Methods inherited from class com.axelor.meta.schema.actions.ActionResumable
getIndex, resumeAt
-
Methods inherited from class com.axelor.meta.schema.actions.Action
checkPermission, execute, getActionId, getModel, getModuleToCheck, getName, getXmlId, setActionId, setModel, setModuleToCheck, setName, setXmlId, test, toExpression, toString, wrap, wrapper
-
-
-
-
Method Detail
-
getActions
public List<ActionGroup.ActionItem> getActions()
-
setActions
public void setActions(List<ActionGroup.ActionItem> actions)
-
addAction
public void addAction(String name)
-
validate
public void validate() throws IllegalStateException
Validate the action sequence in the group.- Throws:
IllegalStateException
-
copy
protected ActionGroup copy()
- Specified by:
copy
in classActionResumable
-
evaluate
public Object evaluate(ActionHandler handler)
-
-