Class RepeatInternalStateSupport
- java.lang.Object
- org.springframework.batch.repeat.support.RepeatInternalStateSupport
- All Implemented Interfaces:
RepeatInternalState
public class RepeatInternalStateSupport extends java.lang.Object implements RepeatInternalState
Constructor Summary
Constructors Constructor Description RepeatInternalStateSupport()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.Throwable>
getThrowables()
Returns a mutable collection of exceptions that have occurred in the current repeat context.
Method Detail
getThrowables
public java.util.Collection<java.lang.Throwable> getThrowables()
Description copied from interface:RepeatInternalState
Returns a mutable collection of exceptions that have occurred in the current repeat context. Clients are expected to mutate this collection.- Specified by:
getThrowables
in interfaceRepeatInternalState
- Returns:
- the collection of exceptions being accumulated