public class FlowMethodAction extends java.lang.Object implements FlowAction
FlowAction that calls a method in the current view controller instance.| Constructor and Description |
|---|
FlowMethodAction(java.lang.reflect.Method actionMethod)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(FlowHandler flowHandler,
java.lang.String actionId)
This method will be called by the
FlowHandler of the current flow whenever the action is triggered. |
public FlowMethodAction(java.lang.reflect.Method actionMethod)
actionMethod - defines the method that should be called whenever the action is triggered.public void handle(FlowHandler flowHandler, java.lang.String actionId) throws FlowException
FlowActionFlowHandler of the current flow whenever the action is triggered.handle in interface FlowActionflowHandler - the flowHandler of the current flowactionId - unique ID of this action in the current flowFlowException - if an error occures while handling the action