org.mule.tck.listener
Class FlowExecutionListener
java.lang.Object
org.mule.tck.listener.FlowExecutionListener
public class FlowExecutionListener
- extends Object
Listener for flow execution complete action.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowExecutionListener
public FlowExecutionListener(MuleContext muleContext)
- Constructor for releasing latch when any flow execution completes
FlowExecutionListener
public FlowExecutionListener(String flowName,
MuleContext muleContext)
- Constructor for releasing latch when flow with name flowName completes
waitUntilFlowIsComplete
public void waitUntilFlowIsComplete()
setNumberOfExecutionsRequired
public FlowExecutionListener setNumberOfExecutionsRequired(int numberOfExecutionsRequired)
- Parameters:
numberOfExecutionsRequired - number of times that the listener must be notified before releasing the latch.
setTimeoutInMillis
public FlowExecutionListener setTimeoutInMillis(int timeout)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.