public interface ExecutionLifecycleComponentHandler
Modifier and Type | Method and Description |
---|---|
java.util.Optional<ExecutionLifecycleStatus> |
afterJobEnds(StepExecutionContext executionContext,
JobEventResult result)
Job end event
|
java.util.Optional<ExecutionLifecycleStatus> |
beforeJobStarts(StepExecutionContext executionContext,
WorkflowExecutionItem workflowItem)
Job start event
|
java.util.Optional<ExecutionLifecycleStatus> beforeJobStarts(StepExecutionContext executionContext, WorkflowExecutionItem workflowItem) throws ExecutionLifecycleComponentException
executionContext
- input execution contextExecutionLifecycleComponentException
java.util.Optional<ExecutionLifecycleStatus> afterJobEnds(StepExecutionContext executionContext, JobEventResult result) throws ExecutionLifecycleComponentException
executionContext
- execution contextresult
- result of job executionExecutionLifecycleComponentException