Uses of Class
org.springframework.batch.core.ExitStatus
Packages that use 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
Fields in org.springframework.batch.core declared as ExitStatusModifier 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.Methods in org.springframework.batch.core that return ExitStatusModifier 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
.Methods in org.springframework.batch.core with parameters of type ExitStatusModifier 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
Methods in org.springframework.batch.core.job that return ExitStatusModifier and TypeMethodDescriptionprotected ExitStatus
AbstractJob.getDefaultExitStatusForFailure
(Throwable ex, JobExecution execution) Default mapping from throwable toExitStatus
. -
Uses of ExitStatus in org.springframework.batch.core.job.flow
Fields in org.springframework.batch.core.job.flow declared as ExitStatus -
Uses of ExitStatus in org.springframework.batch.core.listener
Methods in org.springframework.batch.core.listener that return ExitStatusModifier 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
Methods in org.springframework.batch.core.step that return ExitStatusModifier and TypeMethodDescriptionNoWorkFoundStepExecutionListener.afterStep
(StepExecution stepExecution) -
Uses of ExitStatus in org.springframework.batch.core.step.tasklet
Methods in org.springframework.batch.core.step.tasklet that return ExitStatusModifier 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
.Method parameters in org.springframework.batch.core.step.tasklet with type arguments of type ExitStatusModifier and TypeMethodDescriptionvoid
ConfigurableSystemProcessExitCodeMapper.setMappings
(Map<Object, ExitStatus> mappings) -
Uses of ExitStatus in org.springframework.batch.integration.chunk
Methods in org.springframework.batch.integration.chunk that return ExitStatusModifier and TypeMethodDescriptionChunkMessageChannelItemWriter.afterStep
(StepExecution stepExecution)