org.springframework.batch.core.step.skip
Class NeverSkipItemSkipPolicy
java.lang.Object
org.springframework.batch.core.step.skip.NeverSkipItemSkipPolicy
- All Implemented Interfaces:
- SkipPolicy
public class NeverSkipItemSkipPolicy
- extends Object
- implements SkipPolicy
SkipPolicy
implementation that always returns false,
indicating that an item should not be skipped.
- Author:
- Lucas Ward
Method Summary |
boolean |
shouldSkip(Throwable t,
int skipCount)
Returns true or false, indicating whether or not processing should
continue with the given throwable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NeverSkipItemSkipPolicy
public NeverSkipItemSkipPolicy()
shouldSkip
public boolean shouldSkip(Throwable t,
int skipCount)
- Description copied from interface:
SkipPolicy
- Returns true or false, indicating whether or not processing should
continue with the given throwable.
- Specified by:
shouldSkip
in interface SkipPolicy
- Parameters:
t
- exception encountered while readingskipCount
- currently running count of skips
- Returns:
- true if processing should continue, false otherwise.
Copyright © 2009 SpringSource. All Rights Reserved.