# 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

- Related Packages
  Package
  Description
  org.springframework.batch.core.step
  Specific implementations of step concerns.
  org.springframework.batch.core.step.builder
  Step level builders for java based job configuration.
  org.springframework.batch.core.step.factory
  Factories for step level components.
  org.springframework.batch.core.step.item
  Specific implementations of step concerns for item-oriented approach.
  org.springframework.batch.core.step.job
  `JobStep` and related components.
  org.springframework.batch.core.step.skip
  Specific implementations of skip concerns for items in a step.
- Class
  Description
  CallableTaskletAdapter
  Adapts a `Callable`<`RepeatStatus`> to the `Tasklet` interface.
  ConfigurableSystemProcessExitCodeMapper
  Maps exit codes to `ExitStatus` according to injected map.
  MethodInvokingTaskletAdapter
  A `Tasklet` that wraps a method in a POJO.
  SimpleSystemProcessExitCodeMapper
  Simple `SystemProcessExitCodeMapper` implementation that performs following mapping: 0 -> ExitStatus.FINISHED else -> ExitStatus.FAILED
  StoppableTasklet
  An extension to the `Tasklet` interface to allow users to add logic for stopping a tasklet.
  SystemCommandException
  Exception indicating failed execution of system command.
  SystemCommandTasklet
  `Tasklet` that executes a system command.
  SystemProcessExitCodeMapper
  Maps the exit code of a system process to ExitStatus value returned by a system command.
  Tasklet
  Strategy for processing in a step.
  TaskletStep
  Simple implementation of executing the step as a call to a `Tasklet`, possibly repeated, and each call surrounded by a transaction.
  UncheckedTransactionException
  Convenience wrapper for a checked exception so that it can cause a rollback and be extracted afterwards.