Uses of Class
org.springframework.batch.core.StepContribution
Packages that use StepContribution
Package
Description
Core domain context for Spring Batch covering jobs, steps, configuration and execution
abstractions.
Specific implementations of step concerns for item-oriented approach.
Interfaces and generic implementations of tasklet concerns.
-
Uses of StepContribution in org.springframework.batch.core
Methods in org.springframework.batch.core that return StepContributionModifier and TypeMethodDescriptionStepExecution.createStepContribution()Factory method forStepContribution.Methods in org.springframework.batch.core with parameters of type StepContributionModifier and TypeMethodDescriptionvoidStepExecution.apply(StepContribution contribution) This method should be called on successful execution just before a chunk commit. -
Uses of StepContribution in org.springframework.batch.core.step.item
Methods in org.springframework.batch.core.step.item with parameters of type StepContributionModifier and TypeMethodDescriptionChunkOrientedTasklet.execute(StepContribution contribution, ChunkContext chunkContext) voidChunkProvider.postProcess(StepContribution contribution, Chunk<T> chunk) voidFaultTolerantChunkProvider.postProcess(StepContribution contribution, Chunk<I> chunk) voidSimpleChunkProvider.postProcess(StepContribution contribution, Chunk<I> chunk) voidChunkProcessor.process(StepContribution contribution, Chunk<I> chunk) final voidSimpleChunkProcessor.process(StepContribution contribution, Chunk<I> inputs) ChunkProvider.provide(StepContribution contribution) SimpleChunkProvider.provide(StepContribution contribution) protected IFaultTolerantChunkProvider.read(StepContribution contribution, Chunk<I> chunk) protected ISimpleChunkProvider.read(StepContribution contribution, Chunk<I> chunk) Delegates toSimpleChunkProvider.doRead().FaultTolerantChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) SimpleChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) protected voidprotected voidSimple implementation delegates to theSimpleChunkProcessor.doWrite(Chunk)method and increments the write count in the contribution. -
Uses of StepContribution in org.springframework.batch.core.step.tasklet
Methods in org.springframework.batch.core.step.tasklet with parameters of type StepContributionModifier and TypeMethodDescriptionCallableTaskletAdapter.execute(StepContribution contribution, ChunkContext chunkContext) Execute the provided Callable and return itsRepeatStatus.MethodInvokingTaskletAdapter.execute(StepContribution contribution, ChunkContext chunkContext) Delegate execution to the target object and translate the return value to anExitStatusby invoking a method in the delegate POJO.SystemCommandTasklet.execute(StepContribution contribution, ChunkContext chunkContext) Execute system command and map its exit code toExitStatususingSystemProcessExitCodeMapper.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.