@NonNullApi package org.springframework.batch.core.step.tasklet
Interfaces and generic implementations of tasklet concerns.
- Michael Minella, Mahmoud Ben Hassine
ClassDescriptionStrategy interface for executing commands.Maps exit codes to
ExitStatusaccording to injected map.A
Taskletthat wraps a method in a POJO.Simple
SystemProcessExitCodeMapperimplementation that performs following mapping:An extension to the
Taskletinterface to allow users to add logic for stopping a tasklet.Exception indicating failed execution of system command.
Taskletthat executes a system command.Maps the exit code of a system process to ExitStatus value returned by a system command.Strategy for processing in a step.Simple implementation of executing the step as a call to a
Tasklet, possibly repeated, and each call surrounded by a transaction.Convenience wrapper for a checked exception so that it can cause a rollback and be extracted afterwards.