public interface ActionListener
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
actionFired(KeyFlowContext flowContext)
A callback method for when an action is to execute.
|
java.lang.Object actionFired(KeyFlowContext flowContext) throws java.lang.Exception
flowContext
- The flow chart context in which this action is invoked.String resultName = engineSource.useLastResult(); Object myResult = flowContext.get(resultName);The return value from flowContext.get() should be cast to the actual type of the result object.
java.lang.Exception
- If the action listener failed, in which case an error
path is followed in the flow chart, not the normal path. If no error path
is defined, the job finishes.© 2000-2025 Flux Corporation. All rights reserved.