|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StepContribution | |
---|---|
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. |
Uses of StepContribution in org.springframework.batch.core |
---|
Methods in org.springframework.batch.core that return StepContribution | |
---|---|
StepContribution |
StepExecution.createStepContribution()
Factory method for StepContribution . |
Methods in org.springframework.batch.core with parameters of type StepContribution | |
---|---|
void |
StepExecution.apply(StepContribution contribution)
On successful execution just before a chunk commit, this method should be called. |
Uses of StepContribution in org.springframework.batch.core.step.item |
---|
Methods in org.springframework.batch.core.step.item with parameters of type StepContribution | |
---|---|
protected void |
ItemSkipPolicyItemHandler.doWriteWithSkip(Object item,
StepContribution contribution)
|
ExitStatus |
SimpleItemHandler.handle(StepContribution contribution)
Get the next item from SimpleItemHandler.read(StepContribution) and if not null
pass the item to SimpleItemHandler.write(Object, StepContribution) . |
ExitStatus |
ItemHandler.handle(StepContribution contribution)
Given the current context in the form of a step contribution, do whatever is necessary to process this unit inside a chunk. |
protected ExitStatus |
ItemOrientedStep.processChunk(StepExecution execution,
StepContribution contribution)
Execute a bunch of identical business logic operations all within a transaction. |
protected Object |
SimpleItemHandler.read(StepContribution contribution)
|
protected Object |
ItemSkipPolicyItemHandler.read(StepContribution contribution)
Tries to read the item from the reader, in case of exception skip the item if the skip policy allows, otherwise re-throw. |
protected void |
SimpleItemHandler.write(Object item,
StepContribution contribution)
|
protected void |
ItemSkipPolicyItemHandler.write(Object item,
StepContribution contribution)
Tries to write the item using the writer. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |