|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FlowExecutor
Context and execution strategy for FlowJob to allow it to delegate
its execution step by step.
| Method Summary | |
|---|---|
void |
abandonStepExecution()
Handle any status changes that might be needed at the start of a state. |
void |
addExitStatus(java.lang.String code)
|
void |
close(FlowExecution result)
Chance to clean up resources at the end of a flow (whether it completed successfully or not). |
java.lang.String |
executeStep(Step step)
|
JobExecution |
getJobExecution()
|
StepExecution |
getStepExecution()
|
boolean |
isRestart()
|
void |
updateJobExecutionStatus(FlowExecutionStatus status)
Handle any status changes that might be needed in the JobExecution. |
| Method Detail |
|---|
java.lang.String executeStep(Step step)
throws JobInterruptedException,
JobRestartException,
StartLimitExceededException
step - a Step to execute
Flow
StartLimitExceededException
JobRestartException
JobInterruptedExceptionJobExecution getJobExecution()
JobExecutionStepExecution getStepExecution()
StepExecution or null if there is nonevoid close(FlowExecution result)
result - the final FlowExecutionvoid abandonStepExecution()
void updateJobExecutionStatus(FlowExecutionStatus status)
JobExecution.
boolean isRestart()
void addExitStatus(java.lang.String code)
code - the label for the exit status when a flow or sub-flow ends
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||