|
||||||||||
| 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 | |
|---|---|
org.springframework.batch.repeat.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 |
|---|
org.springframework.batch.repeat.RepeatStatus execute(StepContribution contribution,
ChunkContext chunkContext)
throws java.lang.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.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||