public class ScriptTasklet
extends java.lang.Object
implements org.springframework.batch.core.step.tasklet.Tasklet
Constructor and Description |
---|
ScriptTasklet() |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.repeat.RepeatStatus |
execute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext) |
void |
setScriptCallback(java.util.concurrent.Callable<java.lang.Object> scriptCallback) |
public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext) throws java.lang.Exception
execute
in interface org.springframework.batch.core.step.tasklet.Tasklet
java.lang.Exception
public void setScriptCallback(java.util.concurrent.Callable<java.lang.Object> scriptCallback)
scriptCallback
- Callback to the underlying script.