# Uses of Class
org.springframework.batch.core.StepContribution

Packages that use StepContribution
Package
Description
org.springframework.batch.core
Core domain context for Spring Batch covering jobs, steps, configuration and execution abstractions.
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.chunk
Components for remote chunking.

- ## Uses of StepContribution in org.springframework.batch.core

  Methods in org.springframework.batch.core that return StepContribution
  Modifier and Type
  Method
  Description
  `StepContribution`
  StepExecution.`createStepContribution()`
  Factory method for `StepContribution`.
  Methods in org.springframework.batch.core with parameters of type StepContribution
  Modifier and Type
  Method
  Description
  `void`
  StepExecution.`apply(StepContribution contribution)`
  On successful execution just before a chunk commit, this method should be called.

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

  Methods in org.springframework.batch.core.step.item with parameters of type StepContribution
  Modifier and Type
  Method
  Description
  `RepeatStatus`
  ChunkOrientedTasklet.`execute(StepContribution contribution, ChunkContext chunkContext)`
  `void`
  ChunkProvider.`postProcess(StepContribution contribution, Chunk<T> chunk)`
  `void`
  FaultTolerantChunkProvider.`postProcess(StepContribution contribution, Chunk<I> chunk)`
  `void`
  SimpleChunkProvider.`postProcess(StepContribution contribution, Chunk<I> chunk)`
  `void`
  ChunkProcessor.`process(StepContribution contribution, Chunk<I> chunk)`
  `final void`
  SimpleChunkProcessor.`process(StepContribution contribution, Chunk<I> inputs)`
  `Chunk<T>`
  ChunkProvider.`provide(StepContribution contribution)`
  `Chunk<I>`
  SimpleChunkProvider.`provide(StepContribution contribution)`
  `protected I`
  FaultTolerantChunkProvider.`read(StepContribution contribution, Chunk<I> chunk)`
  `protected I`
  SimpleChunkProvider.`read(StepContribution contribution, Chunk<I> chunk)`
  Delegates to `SimpleChunkProvider.doRead()`.
  `protected Chunk<O>`
  FaultTolerantChunkProcessor.`transform(StepContribution contribution, Chunk<I> inputs)`
  `protected Chunk<O>`
  SimpleChunkProcessor.`transform(StepContribution contribution, Chunk<I> inputs)`
  `protected void`
  FaultTolerantChunkProcessor.`write(StepContribution contribution, Chunk<I> inputs, Chunk<O> outputs)`
  `protected void`
  SimpleChunkProcessor.`write(StepContribution contribution, Chunk<I> inputs, Chunk<O> outputs)`
  Simple implementation delegates to the `SimpleChunkProcessor.doWrite(List)` method and increments the write count in the contribution.

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

  Methods in org.springframework.batch.core.step.tasklet with parameters of type StepContribution
  Modifier and Type
  Method
  Description
  `RepeatStatus`
  CallableTaskletAdapter.`execute(StepContribution contribution, ChunkContext chunkContext)`
  Execute the provided Callable and return its `RepeatStatus`.
  `RepeatStatus`
  MethodInvokingTaskletAdapter.`execute(StepContribution contribution, ChunkContext chunkContext)`
  Delegate execution to the target object and translate the return value to an `ExitStatus` by invoking a method in the delegate POJO.
  `RepeatStatus`
  SystemCommandTasklet.`execute(StepContribution contribution, ChunkContext chunkContext)`
  Execute system command and map its exit code to `ExitStatus` using `SystemProcessExitCodeMapper`.
  `RepeatStatus`
  Tasklet.`execute(StepContribution contribution, ChunkContext chunkContext)`
  Given the current context in the form of a step contribution, do whatever is necessary to process this unit inside a transaction.

- ## Uses of StepContribution in org.springframework.batch.integration.chunk

  Methods in org.springframework.batch.integration.chunk that return StepContribution
  Modifier and Type
  Method
  Description
  `StepContribution`
  ChunkRequest.`getStepContribution()`
  `StepContribution`
  ChunkResponse.`getStepContribution()`
  Methods in org.springframework.batch.integration.chunk that return types with arguments of type StepContribution
  Modifier and Type
  Method
  Description
  `Collection<StepContribution>`
  ChunkMessageChannelItemWriter.`getStepContributions()`
  `Collection<StepContribution>`
  StepContributionSource.`getStepContributions()`
  Get the currently available contributions and drain the source.
  Methods in org.springframework.batch.integration.chunk with parameters of type StepContribution
  Modifier and Type
  Method
  Description
  `protected void`
  RemoteChunkHandlerFactoryBean.`updateStepContribution(StepContribution contribution, StepContributionSource stepContributionSource)`
  Update a StepContribution with all the data from a StepContributionSource.
  Constructors in org.springframework.batch.integration.chunk with parameters of type StepContribution
  Modifier
  Constructor
  Description
  ``
  `ChunkRequest(int sequence, Collection<? extends T> items, long jobId, StepContribution stepContribution)`
  ``
  `ChunkResponse(boolean status, int sequence, Long jobId, StepContribution stepContribution)`
  ``
  `ChunkResponse(boolean status, int sequence, Long jobId, StepContribution stepContribution, String message)`
  ``
  `ChunkResponse(boolean status, int sequence, Long jobId, StepContribution stepContribution, String message, boolean redelivered)`
  ``
  `ChunkResponse(int sequence, Long jobId, StepContribution stepContribution)`