|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tasklet
Strategy for processing in a step.
Method Summary | |
---|---|
RepeatStatus |
execute(StepContribution contribution,
ChunkContext chunkContext)
Given the current context in the form of a step contribution, do whatever is necessary to process this unit inside a transaction. |
Method Detail |
---|
RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception
RepeatStatus.FINISHED
if finished. If not they return
RepeatStatus.CONTINUABLE
. On failure throws an exception.
contribution
- mutable state to be passed back to update the current
step executionchunkContext
- attributes shared between invocations but not between
restarts
RepeatStatus
indicating whether processing is
continuable.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |