Package | Description |
---|---|
org.springframework.batch.core.job.flow | |
org.springframework.batch.core.job.flow.support.state |
Modifier and Type | Field and Description |
---|---|
static FlowExecutionStatus |
FlowExecutionStatus.COMPLETED
Special well-known status value.
|
static FlowExecutionStatus |
FlowExecutionStatus.FAILED
Special well-known status value.
|
static FlowExecutionStatus |
FlowExecutionStatus.STOPPED
Special well-known status value.
|
static FlowExecutionStatus |
FlowExecutionStatus.UNKNOWN
Special well-known status value.
|
Modifier and Type | Method and Description |
---|---|
FlowExecutionStatus |
JobExecutionDecider.decide(JobExecution jobExecution,
StepExecution stepExecution)
Strategy for branching an execution based on the state of an ongoing
JobExecution . |
FlowExecutionStatus |
FlowExecution.getStatus() |
FlowExecutionStatus |
State.handle(FlowExecutor executor)
Handle some business or processing logic and return a status that can be
used to drive a flow to the next
State . |
Modifier and Type | Method and Description |
---|---|
int |
FlowExecutionStatus.compareTo(FlowExecutionStatus other)
Create an ordering on
FlowExecutionStatus instances by comparing
their statuses. |
void |
FlowExecutor.updateJobExecutionStatus(FlowExecutionStatus status)
Handle any status changes that might be needed in the
JobExecution . |
void |
JobFlowExecutor.updateJobExecutionStatus(FlowExecutionStatus status) |
Constructor and Description |
---|
FlowExecution(String name,
FlowExecutionStatus status) |
Modifier and Type | Method and Description |
---|---|
FlowExecutionStatus |
MaxValueFlowExecutionAggregator.aggregate(Collection<FlowExecution> executions)
Aggregate all of the
FlowExecutionStatus es of the
FlowExecution s into one status. |
FlowExecutionStatus |
FlowExecutionAggregator.aggregate(Collection<FlowExecution> executions) |
FlowExecutionStatus |
EndState.handle(FlowExecutor executor)
Return the
FlowExecutionStatus stored. |
FlowExecutionStatus |
SplitState.handle(FlowExecutor executor)
Execute the flows in parallel by passing them to the
TaskExecutor
and wait for all of them to finish before proceeding. |
FlowExecutionStatus |
DecisionState.handle(FlowExecutor executor) |
FlowExecutionStatus |
StepState.handle(FlowExecutor executor) |
abstract FlowExecutionStatus |
AbstractState.handle(FlowExecutor executor) |
FlowExecutionStatus |
FlowState.handle(FlowExecutor executor) |
Constructor and Description |
---|
EndState(FlowExecutionStatus status,
String name) |
EndState(FlowExecutionStatus status,
String code,
String name) |
EndState(FlowExecutionStatus status,
String code,
String name,
boolean abandon) |
Copyright © 2013 SpringSource. All rights reserved.