public interface FlowStepListener
FlowStep
execution.Modifier and Type | Method and Description |
---|---|
void |
onStepCompleted(FlowStep flowStep)
The onStepCompleted event is fired when a flowStepJob completed its work
|
void |
onStepRunning(FlowStep flowStep)
The onStepRunning event is fired when a given
FlowStep moves into the running state |
void |
onStepStarting(FlowStep flowStep)
The onStarting event is fired when a given
FlowStep job has been submitted i.e. |
void |
onStepStopping(FlowStep flowStep)
The onStepStopping event is fired when a given
FlowStep job is stopped |
boolean |
onStepThrowable(FlowStep flowStep,
java.lang.Throwable throwable)
The onStepThrowable event is fired if a given
FlowStep throws a Throwable type. |
void onStepStarting(FlowStep flowStep)
FlowStep
job has been submitted i.e. to hadoop clusterflowStep
- void onStepStopping(FlowStep flowStep)
FlowStep
job is stoppedflowStep
- void onStepRunning(FlowStep flowStep)
FlowStep
moves into the running stateflowStep
- void onStepCompleted(FlowStep flowStep)
flowStep
- boolean onStepThrowable(FlowStep flowStep, java.lang.Throwable throwable)
FlowStep
throws a Throwable type. This throwable is passed
as an argument to the event. This event method should return true if the given throwable was handled and should
not be rethrown from the Flow.complete()
method.flowStep
- throwable
- Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.