I would like to know what the SkipPolicy is that is set in StepBuilderFactory.
If possible I would like some documentation explaining.
I would like to know what the SkipPolicy is that is set in StepBuilderFactory.
If possible I would like some documentation explaining.
According to documentation , a class that implements the interface SkipPolicy
must determine a criterion for when a processing ( Step
) should be executed, or not. The interface has the boolean shouldSkip(java.lang.Throwable t, int skipCount) throws SkipLimitExceededException
method that should return true
if the Step
should continue normally if the Throwable t
is thrown during the execution of the step, or false
otherwise. Already the parameter skipCount
corresponds to the number of times the step was skipped given the current execution.