Package org.springframework.batch.core.step.tasklet
@NonNullApi
package org.springframework.batch.core.step.tasklet
Interfaces and generic implementations of tasklet concerns.
- Author:
- Michael Minella, Mahmoud Ben Hassine
-
ClassDescriptionStrategy interface for executing commands.Maps exit codes to
ExitStatus
according to injected map.Implementation of theCommandRunner
interface that calls the standardRuntime.exec(java.lang.String)
method.ATasklet
that wraps a method in a POJO.SimpleSystemProcessExitCodeMapper
implementation that performs following mapping:An extension to theTasklet
interface to allow users to add logic for stopping a tasklet.Exception indicating failed execution of system command.Tasklet
that 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 aTasklet
, 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.