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
 Collection<org.springframework.batch.core.StepContribution> getStepContributions()
          Get the currently available contributions and drain the source.
 

Method Detail

getStepContributions

Collection<org.springframework.batch.core.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


Copyright © 2013. All Rights Reserved.