Package | Description |
---|---|
org.springframework.batch.core |
Core domain context for Spring Batch covering jobs, steps,
configuration and execution abstractions.
|
org.springframework.batch.core.listener |
Generic implementations of core batch listener interfaces.
|
org.springframework.batch.core.step |
Specific implementations of step concerns.
|
org.springframework.batch.core.step.tasklet |
Interfaces and generic implementations of tasklet concerns.
|
org.springframework.batch.sample.common | |
org.springframework.batch.sample.loop |
Modifier and Type | Field and Description |
---|---|
static ExitStatus |
ExitStatus.COMPLETED
Convenient constant value representing finished processing.
|
static ExitStatus |
ExitStatus.EXECUTING
Convenient constant value representing continuable state where processing
is still taking place, so no further action is required.
|
static ExitStatus |
ExitStatus.FAILED
Convenient constant value representing finished processing with an error.
|
static ExitStatus |
ExitStatus.NOOP
Convenient constant value representing job that did no processing (e.g.
|
static ExitStatus |
ExitStatus.STOPPED
Convenient constant value representing finished processing with
interrupted status.
|
static ExitStatus |
ExitStatus.UNKNOWN
Convenient constant value representing unknown state - assumed not
continuable.
|
Modifier and Type | Method and Description |
---|---|
ExitStatus |
ExitStatus.addExitDescription(String description)
Add an exit description to an existing
ExitStatus . |
ExitStatus |
ExitStatus.addExitDescription(Throwable throwable)
Extract the stack trace from the throwable provided and append it to
the exist description.
|
ExitStatus |
StepExecutionListener.afterStep(StepExecution stepExecution)
Give a listener a chance to modify the exit status from a step.
|
ExitStatus |
ExitStatus.and(ExitStatus status)
Create a new
ExitStatus with a logical combination of the exit
code, and a concatenation of the descriptions. |
ExitStatus |
StepExecution.getExitStatus() |
ExitStatus |
StepContribution.getExitStatus()
Public getter for the status.
|
ExitStatus |
JobExecution.getExitStatus() |
ExitStatus |
ExitStatus.replaceExitCode(String code)
Add an exit code to an existing
ExitStatus . |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
ExitStatus.and(ExitStatus status)
Create a new
ExitStatus with a logical combination of the exit
code, and a concatenation of the descriptions. |
int |
ExitStatus.compareTo(ExitStatus status) |
void |
StepExecution.setExitStatus(ExitStatus exitStatus) |
void |
StepContribution.setExitStatus(ExitStatus status)
Set the
ExitStatus for this contribution. |
void |
JobExecution.setExitStatus(ExitStatus exitStatus) |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
StepListenerSupport.afterStep(StepExecution stepExecution) |
ExitStatus |
StepExecutionListenerSupport.afterStep(StepExecution stepExecution) |
ExitStatus |
MulticasterBatchListener.afterStep(StepExecution stepExecution) |
ExitStatus |
ExecutionContextPromotionListener.afterStep(StepExecution stepExecution) |
ExitStatus |
CompositeStepExecutionListener.afterStep(StepExecution stepExecution)
Call the registered listeners in reverse order, respecting and
prioritizing those that implement
Ordered . |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
NoWorkFoundStepExecutionListener.afterStep(StepExecution stepExecution) |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
SystemProcessExitCodeMapper.getExitStatus(int exitCode) |
ExitStatus |
SimpleSystemProcessExitCodeMapper.getExitStatus(int exitCode) |
ExitStatus |
ConfigurableSystemProcessExitCodeMapper.getExitStatus(int exitCode) |
protected ExitStatus |
MethodInvokingTaskletAdapter.mapResult(Object result)
If the result is an
ExitStatus already just return that,
otherwise return COMPLETED . |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableSystemProcessExitCodeMapper.setMappings(Map<Object,ExitStatus> mappings) |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
StagingItemWriter.afterStep(StepExecution stepExecution) |
ExitStatus |
StagingItemReader.afterStep(StepExecution stepExecution) |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
GeneratingTradeResettingListener.afterStep(StepExecution stepExecution) |
Copyright © 2014 Pivotal. All rights reserved.