Interface ActionExecutionStrategy
-
- All Known Implementing Classes:
PlainActionExecutionStrategy
,ProcessActionExecutionStrategy
,TaskActionExecutionStrategy
public interface ActionExecutionStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> void
cancelAction(TriggeredAction<T> preparedAction)
java.util.Set<ActionType>
getAcceptedTypes()
void
isActionValid(ActionType type, java.lang.String target)
<T> TriggeredAction<T>
prepareAction(AbstractActionModel action, T argument)
<T> void
triggerAction(TriggeredAction<T> preparedAction)
-
-
-
Method Detail
-
getAcceptedTypes
java.util.Set<ActionType> getAcceptedTypes()
-
prepareAction
<T> TriggeredAction<T> prepareAction(AbstractActionModel action, T argument) throws ActionException
- Throws:
ActionException
-
triggerAction
<T> void triggerAction(TriggeredAction<T> preparedAction) throws ActionException
- Throws:
ActionException
-
cancelAction
<T> void cancelAction(TriggeredAction<T> preparedAction) throws ActionException
- Throws:
ActionException
-
isActionValid
void isActionValid(ActionType type, java.lang.String target) throws InvalidActionException
- Throws:
InvalidActionException
-
-