public class InnerActionConsequenceProvider extends Object implements ConsequenceProvider
| Constructor and Description |
|---|
InnerActionConsequenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
Consequence |
getConsequence(String action,
Class<? extends Object> actionClass,
String result,
String innerAction)
Creates a consequence based on a convention, using the name of the
executed action, the result of the action's execution and the executed
inner action.
|
protected String |
getDir(String actionName)
This method will imply a directory name from the action name.
|
protected String getDir(String actionName)
actionName - The action class namepublic Consequence getConsequence(String action, Class<? extends Object> actionClass, String result, String innerAction)
ConsequenceProvidergetConsequence in interface ConsequenceProvideraction - the name of the actionactionClass - the class representing the actionresult - the result of the actions execution.innerAction - the inner action called or null if the execute() method was
called.Copyright © 2015. All Rights Reserved.