Uses of Class
org.springframework.batch.core.ExitStatus
Package
Description
Core domain context for Spring Batch covering jobs, steps, configuration and execution
abstractions.
Specific implementations of job concerns.
Flow related constructs including Flow interface, executors, and related exceptions
Generic implementations of core batch listener interfaces.
Specific implementations of step concerns.
Interfaces and generic implementations of tasklet concerns.
Components for remote chunking.
-
Uses of ExitStatus in org.springframework.batch.core
Modifier and TypeFieldDescriptionstatic final ExitStatus
ExitStatus.COMPLETED
Convenient constant value representing finished processing.static final ExitStatus
ExitStatus.EXECUTING
Convenient constant value representing continuable state where processing is still taking place, so no further action is required.static final ExitStatus
ExitStatus.FAILED
Convenient constant value representing finished processing with an error.static final ExitStatus
ExitStatus.NOOP
Convenient constant value representing a job that did no processing (for example, because it was already complete).static final ExitStatus
ExitStatus.STOPPED
Convenient constant value representing finished processing with interrupted status.static final ExitStatus
ExitStatus.UNKNOWN
Convenient constant value representing unknown state - assumed to not be continuable.Modifier and TypeMethodDescriptionExitStatus.addExitDescription
(String description) Add an exit description to an existingExitStatus
.ExitStatus.addExitDescription
(Throwable throwable) Extract the stack trace from the throwable provided and append it to the existing description.default ExitStatus
StepExecutionListener.afterStep
(StepExecution stepExecution) Give a listener a chance to modify the exit status from a step.ExitStatus.and
(ExitStatus status) Create a newExitStatus
with a logical combination of the exit code and a concatenation of the descriptions.JobExecution.getExitStatus()
StepContribution.getExitStatus()
Public getter for theExitStatus
.StepExecution.getExitStatus()
ExitStatus.replaceExitCode
(String code) Add an exit code to an existingExitStatus
.Modifier and TypeMethodDescriptionExitStatus.and
(ExitStatus status) Create a newExitStatus
with a logical combination of the exit code and a concatenation of the descriptions.int
ExitStatus.compareTo
(ExitStatus status) static boolean
ExitStatus.isNonDefaultExitStatus
(ExitStatus status) void
JobExecution.setExitStatus
(ExitStatus exitStatus) void
StepContribution.setExitStatus
(ExitStatus status) Set theExitStatus
for this contribution.void
StepExecution.setExitStatus
(ExitStatus exitStatus) -
Uses of ExitStatus in org.springframework.batch.core.job
Modifier and TypeMethodDescriptionprotected ExitStatus
AbstractJob.getDefaultExitStatusForFailure
(Throwable ex, JobExecution execution) Default mapping from throwable toExitStatus
. -
Uses of ExitStatus in org.springframework.batch.core.job.flow
-
Uses of ExitStatus in org.springframework.batch.core.listener
Modifier and TypeMethodDescriptionCompositeStepExecutionListener.afterStep
(StepExecution stepExecution) Call the registered listeners in reverse order, respecting and prioritizing those that implementOrdered
.ExecutionContextPromotionListener.afterStep
(StepExecution stepExecution) MulticasterBatchListener.afterStep
(StepExecution stepExecution) StepExecutionListenerSupport.afterStep
(StepExecution stepExecution) Deprecated. -
Uses of ExitStatus in org.springframework.batch.core.step
Modifier and TypeMethodDescriptionNoWorkFoundStepExecutionListener.afterStep
(StepExecution stepExecution) -
Uses of ExitStatus in org.springframework.batch.core.step.tasklet
Modifier and TypeMethodDescriptionConfigurableSystemProcessExitCodeMapper.getExitStatus
(int exitCode) SimpleSystemProcessExitCodeMapper.getExitStatus
(int exitCode) SystemProcessExitCodeMapper.getExitStatus
(int exitCode) protected ExitStatus
If the result is anExitStatus
already just return that, otherwise returnCOMPLETED
.Modifier and TypeMethodDescriptionvoid
ConfigurableSystemProcessExitCodeMapper.setMappings
(Map<Object, ExitStatus> mappings) -
Uses of ExitStatus in org.springframework.batch.integration.chunk
Modifier and TypeMethodDescriptionChunkMessageChannelItemWriter.afterStep
(StepExecution stepExecution)