# Uses of Interface
org.springframework.batch.core.step.tasklet.Tasklet

Packages that use Tasklet
Package
Description
org.springframework.batch.core.configuration.xml
Parsers for XML based configuration
org.springframework.batch.core.step.builder
Step level builders for java based job configuration.
org.springframework.batch.core.step.item
Specific implementations of step concerns for item-oriented approach.
org.springframework.batch.core.step.tasklet
Interfaces and generic implementations of tasklet concerns.
org.springframework.batch.integration.partition
Remote partitioning components.

- ## Uses of Tasklet in org.springframework.batch.core.configuration.xml

  Methods in org.springframework.batch.core.configuration.xml that return Tasklet
  Modifier and Type
  Method
  Description
  `protected Tasklet`
  StepParserStepFactoryBean.`getTasklet()`
  Methods in org.springframework.batch.core.configuration.xml with parameters of type Tasklet
  Modifier and Type
  Method
  Description
  `void`
  StepParserStepFactoryBean.`setTasklet(Tasklet tasklet)`
  A preconfigured `Tasklet` to use.

- ## Uses of Tasklet in org.springframework.batch.core.step.builder

  Methods in org.springframework.batch.core.step.builder that return Tasklet
  Modifier and Type
  Method
  Description
  `protected abstract Tasklet`
  AbstractTaskletStepBuilder.`createTasklet()`
  `protected Tasklet`
  FaultTolerantStepBuilder.`createTasklet()`
  Create a new chunk oriented tasklet with reader, writer and processor as provided.
  `protected Tasklet`
  SimpleStepBuilder.`createTasklet()`
  `protected Tasklet`
  TaskletStepBuilder.`createTasklet()`
  Methods in org.springframework.batch.core.step.builder with parameters of type Tasklet
  Modifier and Type
  Method
  Description
  `TaskletStepBuilder`
  StepBuilder.`tasklet(Tasklet tasklet)`
  Build a step with a custom tasklet, not necessarily item processing.
  `TaskletStepBuilder`
  TaskletStepBuilder.`tasklet(Tasklet tasklet)`

- ## Uses of Tasklet in org.springframework.batch.core.step.item

  Classes in org.springframework.batch.core.step.item that implement Tasklet
  Modifier and Type
  Class
  Description
  `class`
  `ChunkOrientedTasklet<I>`
  A `Tasklet` implementing variations on read-process-write item handling.

- ## Uses of Tasklet in org.springframework.batch.core.step.tasklet

  Subinterfaces of Tasklet in org.springframework.batch.core.step.tasklet
  Modifier and Type
  Interface
  Description
  `interface`
  `StoppableTasklet`
  An extension to the `Tasklet` interface to allow users to add logic for stopping a tasklet.
  Classes in org.springframework.batch.core.step.tasklet that implement Tasklet
  Modifier and Type
  Class
  Description
  `class`
  `CallableTaskletAdapter`
  Adapts a `Callable`<`RepeatStatus`> to the `Tasklet` interface.
  `class`
  `MethodInvokingTaskletAdapter`
  A `Tasklet` that wraps a method in a POJO.
  `class`
  `SystemCommandTasklet`
  `Tasklet` that executes a system command.
  Methods in org.springframework.batch.core.step.tasklet that return Tasklet
  Modifier and Type
  Method
  Description
  `Tasklet`
  TaskletStep.`getTasklet()`
  retrieve the tasklet - helper method for JobOperator
  Methods in org.springframework.batch.core.step.tasklet with parameters of type Tasklet
  Modifier and Type
  Method
  Description
  `void`
  TaskletStep.`setTasklet(Tasklet tasklet)`
  Public setter for the `Tasklet`.

- ## Uses of Tasklet in org.springframework.batch.integration.partition

  Methods in org.springframework.batch.integration.partition with parameters of type Tasklet
  Modifier and Type
  Method
  Description
  `TaskletStepBuilder`
  RemotePartitioningWorkerStepBuilder.`tasklet(Tasklet tasklet)`