Interface StepContributionSource
- All Known Implementing Classes:
ChunkMessageChannelItemWriter
public interface StepContributionSource
A source ofStepContribution
instances that can be aggregated and used to update an ongoingStepExecution
.- Author:
- Dave Syer
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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