Package com.ibm.jbatch.container.impl
Class SkipHandler
- java.lang.Object
-
- com.ibm.jbatch.container.impl.SkipHandler
-
public class SkipHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringSKIP_COUNTstatic StringSKIP_EXCLUDE_EXstatic StringSKIP_INCLUDE_EX
-
Constructor Summary
Constructors Constructor Description SkipHandler(com.ibm.jbatch.jsl.model.Chunk chunk, long l, String stepId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSkipProcessListener(List<SkipProcessListenerProxy> skipProcessListener)Add the user-defined SkipReadListeners.voidaddSkipReadListener(List<SkipReadListenerProxy> skipReadListener)Add the user-defined SkipReadListeners.voidaddSkipWriteListener(List<SkipWriteListenerProxy> skipWriteListener)Add the user-defined SkipWriteListeners.longgetSkipCount()voidhandleExceptionRead(Exception e)Handle exception from a read failure.voidhandleExceptionWithRecordListWrite(Exception e, List<?> items)Handle exception from a write failure.voidhandleExceptionWithRecordProcess(Exception e, Object w)Handle exception from a process failure.voidsetSkipCount(long skipCount)StringtoString()
-
-
-
Field Detail
-
SKIP_COUNT
public static final String SKIP_COUNT
- See Also:
- Constant Field Values
-
SKIP_INCLUDE_EX
public static final String SKIP_INCLUDE_EX
- See Also:
- Constant Field Values
-
SKIP_EXCLUDE_EX
public static final String SKIP_EXCLUDE_EX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SkipHandler
public SkipHandler(com.ibm.jbatch.jsl.model.Chunk chunk, long l, String stepId)
-
-
Method Detail
-
addSkipReadListener
public void addSkipReadListener(List<SkipReadListenerProxy> skipReadListener)
Add the user-defined SkipReadListeners.
-
addSkipWriteListener
public void addSkipWriteListener(List<SkipWriteListenerProxy> skipWriteListener)
Add the user-defined SkipWriteListeners.
-
addSkipProcessListener
public void addSkipProcessListener(List<SkipProcessListenerProxy> skipProcessListener)
Add the user-defined SkipReadListeners.
-
handleExceptionRead
public void handleExceptionRead(Exception e)
Handle exception from a read failure.
-
handleExceptionWithRecordProcess
public void handleExceptionWithRecordProcess(Exception e, Object w)
Handle exception from a process failure.
-
handleExceptionWithRecordListWrite
public void handleExceptionWithRecordListWrite(Exception e, List<?> items)
Handle exception from a write failure.
-
getSkipCount
public long getSkipCount()
-
setSkipCount
public void setSkipCount(long skipCount)
-
-