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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<StepContribution>` | `getStepContributions()` Get the currently available contributions and drain the source.

- - ### Method Detail

    - #### getStepContributions

          java.util.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