Package org.springframework.batch.integration.chunk

# Interface StepContributionSource

All Known Implementing Classes:
  `ChunkMessageChannelItemWriter`

public interface StepContributionSource
A source of `StepContribution` instances that can be aggregated and used to update an ongoing `StepExecution`.

Author:
  Dave Syer

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Collection<StepContribution>`
  `getStepContributions()`
  Get the currently available contributions and drain the source.

- ## Method Details

  - ### getStepContributions

    Collection<StepContribution> getStepContributions()
    Get the currently available contributions and drain the source. The next call would return an empty collection, unless new contributions have arrived.
    Returns:
      a collection of `StepContribution` instances