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.
Components for remote chunking.
-
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 TypeMethodDescriptionvoid
StepExecution.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) void
ChunkProvider.postProcess
(StepContribution contribution, Chunk<T> chunk) void
FaultTolerantChunkProvider.postProcess
(StepContribution contribution, Chunk<I> chunk) void
SimpleChunkProvider.postProcess
(StepContribution contribution, Chunk<I> chunk) void
ChunkProcessor.process
(StepContribution contribution, Chunk<I> chunk) final void
SimpleChunkProcessor.process
(StepContribution contribution, Chunk<I> inputs) ChunkProvider.provide
(StepContribution contribution) SimpleChunkProvider.provide
(StepContribution contribution) protected I
FaultTolerantChunkProvider.read
(StepContribution contribution, Chunk<I> chunk) protected I
SimpleChunkProvider.read
(StepContribution contribution, Chunk<I> chunk) Delegates toSimpleChunkProvider.doRead()
.FaultTolerantChunkProcessor.transform
(StepContribution contribution, Chunk<I> inputs) SimpleChunkProcessor.transform
(StepContribution contribution, Chunk<I> inputs) protected void
protected void
Simple 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 anExitStatus
by invoking a method in the delegate POJO.SystemCommandTasklet.execute
(StepContribution contribution, ChunkContext chunkContext) Execute system command and map its exit code toExitStatus
usingSystemProcessExitCodeMapper
.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. -
Uses of StepContribution in org.springframework.batch.integration.chunk
Methods in org.springframework.batch.integration.chunk that return StepContributionModifier and TypeMethodDescriptionChunkMessageChannelItemWriter.LocalState.createStepContribution()
ChunkRequest.getStepContribution()
ChunkResponse.getStepContribution()
Methods in org.springframework.batch.integration.chunk that return types with arguments of type StepContributionModifier and TypeMethodDescriptionChunkMessageChannelItemWriter.getStepContributions()
StepContributionSource.getStepContributions()
Get the currently available contributions and drain the source.Methods in org.springframework.batch.integration.chunk with parameters of type StepContributionModifier and TypeMethodDescriptionprotected void
RemoteChunkHandlerFactoryBean.updateStepContribution
(StepContribution contribution, StepContributionSource stepContributionSource) Update a StepContribution with all the data from a StepContributionSource.Constructors in org.springframework.batch.integration.chunk with parameters of type StepContributionModifierConstructorDescriptionChunkRequest
(int sequence, Chunk<? extends T> items, long jobId, StepContribution stepContribution) ChunkResponse
(boolean status, int sequence, Long jobId, StepContribution stepContribution) ChunkResponse
(boolean status, int sequence, Long jobId, StepContribution stepContribution, String message) ChunkResponse
(boolean status, int sequence, Long jobId, StepContribution stepContribution, String message, boolean redelivered) ChunkResponse
(int sequence, Long jobId, StepContribution stepContribution)