|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.step.skip.CompositeSkipPolicy
public class CompositeSkipPolicy
| Constructor Summary | |
|---|---|
CompositeSkipPolicy()
|
|
CompositeSkipPolicy(SkipPolicy[] skipPolicies)
|
|
| Method Summary | |
|---|---|
void |
setSkipPolicies(SkipPolicy[] skipPolicies)
|
boolean |
shouldSkip(java.lang.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 |
| Constructor Detail |
|---|
public CompositeSkipPolicy()
public CompositeSkipPolicy(SkipPolicy[] skipPolicies)
| Method Detail |
|---|
public void setSkipPolicies(SkipPolicy[] skipPolicies)
public boolean shouldSkip(java.lang.Throwable t,
int skipCount)
throws SkipLimitExceededException
SkipPolicyskipCount<0 to probe for exception types that are skippable,
so implementations should be able to handle gracefully the case where
skipCount<0. Implementations should avoid throwing any
undeclared exceptions.
shouldSkip in interface SkipPolicyt - exception encountered while readingskipCount - currently running count of skips
SkipLimitExceededException - if a limit is breached
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||