# Package org.springframework.batch.core.step.tasklet

Interfaces and generic implementations of tasklet concerns.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  StoppableTasklet | An extension to the `Tasklet` interface to allow users to add logic for stopping a tasklet.
  SystemProcessExitCodeMapper | Maps the exit code of a system process to ExitStatus value returned by a system command.
  Tasklet | Strategy for processing in a step.

- Class Summary
  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
  SystemCommandTasklet | `Tasklet` that executes a system command.
  TaskletStep | Simple implementation of executing the step as a call to a `Tasklet`, possibly repeated, and each call surrounded by a transaction.

- Exception Summary
  Exception | Description
  --- | ---
  SystemCommandException | Exception indicating failed execution of system command.
  UncheckedTransactionException | Convenience wrapper for a checked exception so that it can cause a rollback and be extracted afterwards.

## Package org.springframework.batch.core.step.tasklet Description

Interfaces and generic implementations of tasklet concerns.

Author:
  Michael Minella