public class ForwardConsequenceProvider extends Object implements ConsequenceProvider
| Constructor and Description |
|---|
ForwardConsequenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
Consequence |
getConsequence(String action,
Class<? extends Object> actionClass,
String result,
String innerAction)
Create an consequence based on the convention described in the Class
javadoc.
|
public Consequence getConsequence(String action, Class<? extends Object> actionClass, String result, String innerAction)
getConsequence in interface ConsequenceProvideraction - the name of the actionresult - the result of the actions execution.innerAction - the inner action called or null if the execute() method was
called.actionClass - the class representing the actionCopyright © 2015. All Rights Reserved.