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
Classes in org.springframework.batch.core that implement interfaces with type arguments of type ExitStatusModifier and TypeClassDescriptionclassValue object used to carry information about the status of a job or step execution.Fields in org.springframework.batch.core declared as ExitStatusModifier and TypeFieldDescriptionstatic final ExitStatusExitStatus.COMPLETEDConvenient constant value representing finished processing.static final ExitStatusExitStatus.EXECUTINGConvenient constant value representing continuable state where processing is still taking place, so no further action is required.static final ExitStatusExitStatus.FAILEDConvenient constant value representing finished processing with an error.static final ExitStatusExitStatus.NOOPConvenient constant value representing a job that did no processing (for example, because it was already complete).static final ExitStatusExitStatus.STOPPEDConvenient constant value representing finished processing with interrupted status.static final ExitStatusExitStatus.UNKNOWNConvenient 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.ExitStatus.and(ExitStatus status) Create a newExitStatuswith a logical combination of the exit code and a concatenation of the descriptions.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 newExitStatuswith a logical combination of the exit code and a concatenation of the descriptions.intExitStatus.compareTo(ExitStatus status) static booleanExitStatus.isNonDefaultExitStatus(ExitStatus status) -
Uses of ExitStatus in org.springframework.batch.core.job
Methods in org.springframework.batch.core.job that return ExitStatusModifier and TypeMethodDescriptionprotected ExitStatusAbstractJob.getDefaultExitStatusForFailure(Throwable ex) Default mapping from throwable toExitStatus.JobExecution.getExitStatus()Methods in org.springframework.batch.core.job with parameters of type ExitStatus -
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 TypeMethodDescription@Nullable ExitStatusCompositeStepExecutionListener.afterStep(StepExecution stepExecution) Call the registered listeners in reverse order, respecting and prioritizing those that implementOrdered.ExecutionContextPromotionListener.afterStep(StepExecution stepExecution) @Nullable ExitStatusMulticasterBatchListener.afterStep(StepExecution stepExecution) default @Nullable ExitStatusStepExecutionListener.afterStep(StepExecution stepExecution) Give a listener a chance to modify the exit status from a step. -
Uses of ExitStatus in org.springframework.batch.core.step
Methods in org.springframework.batch.core.step that return ExitStatusModifier and TypeMethodDescription@Nullable ExitStatusNoWorkFoundStepExecutionListener.afterStep(StepExecution stepExecution) StepContribution.getExitStatus()Public getter for theExitStatus.StepExecution.getExitStatus()Methods in org.springframework.batch.core.step with parameters of type ExitStatusModifier and TypeMethodDescriptionvoidStepContribution.setExitStatus(ExitStatus status) Set theExitStatusfor this contribution.voidStepExecution.setExitStatus(ExitStatus exitStatus) -
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 ExitStatusIf the result is anExitStatusalready just return that, otherwise returnExitStatus.COMPLETED.Method parameters in org.springframework.batch.core.step.tasklet with type arguments of type ExitStatusModifier and TypeMethodDescriptionvoidConfigurableSystemProcessExitCodeMapper.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) ChunkTaskExecutorItemWriter.afterStep(StepExecution stepExecution)