Package | Description |
---|---|
org.springframework.batch.core |
Core domain context for Spring Batch covering jobs, steps,
configuration and execution abstractions.
|
org.springframework.batch.core.step.item |
Specific implementations of step concerns for item-oriented approach.
|
org.springframework.batch.core.step.tasklet |
Interfaces and generic implementations of tasklet concerns.
|
Modifier and Type | Method and Description |
---|---|
StepContribution |
StepExecution.createStepContribution()
Factory method for
StepContribution . |
Modifier and Type | Method and Description |
---|---|
void |
StepExecution.apply(StepContribution contribution)
On successful execution just before a chunk commit, this method should be
called.
|
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
ChunkOrientedTasklet.execute(StepContribution contribution,
ChunkContext chunkContext) |
void |
SimpleChunkProvider.postProcess(StepContribution contribution,
Chunk<I> chunk) |
void |
FaultTolerantChunkProvider.postProcess(StepContribution contribution,
Chunk<I> chunk) |
void |
ChunkProvider.postProcess(StepContribution contribution,
Chunk<T> chunk) |
void |
SimpleChunkProcessor.process(StepContribution contribution,
Chunk<I> inputs) |
void |
ChunkProcessor.process(StepContribution contribution,
Chunk<I> chunk) |
Chunk<I> |
SimpleChunkProvider.provide(StepContribution contribution) |
Chunk<T> |
ChunkProvider.provide(StepContribution contribution) |
protected I |
SimpleChunkProvider.read(StepContribution contribution,
Chunk<I> chunk)
Delegates to
SimpleChunkProvider.doRead() . |
protected I |
FaultTolerantChunkProvider.read(StepContribution contribution,
Chunk<I> chunk) |
protected Chunk<O> |
SimpleChunkProcessor.transform(StepContribution contribution,
Chunk<I> inputs) |
protected Chunk<O> |
FaultTolerantChunkProcessor.transform(StepContribution contribution,
Chunk<I> inputs) |
protected void |
SimpleChunkProcessor.write(StepContribution contribution,
Chunk<I> inputs,
Chunk<O> outputs)
Simple implementation delegates to the
SimpleChunkProcessor.doWrite(List) method and
increments the write count in the contribution. |
protected void |
FaultTolerantChunkProcessor.write(StepContribution contribution,
Chunk<I> inputs,
Chunk<O> outputs) |
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
Tasklet.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.
|
RepeatStatus |
SystemCommandTasklet.execute(StepContribution contribution,
ChunkContext chunkContext)
Execute system command and map its exit code to
ExitStatus using
SystemProcessExitCodeMapper . |
RepeatStatus |
MethodInvokingTaskletAdapter.execute(StepContribution contribution,
ChunkContext chunkContext)
Delegate execution to the target object and translate the return value to
an
ExitStatus by invoking a method in the delegate POJO. |
RepeatStatus |
CallableTaskletAdapter.execute(StepContribution contribution,
ChunkContext chunkContext)
Execute the provided Callable and return its
RepeatStatus . |
Copyright © 2014. All Rights Reserved.