Uses of Class
org.springframework.batch.core.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
Modifier and TypeMethodDescriptionStepExecution.createStepContribution()
Factory method forStepContribution
.Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionChunkMessageChannelItemWriter.LocalState.createStepContribution()
ChunkRequest.getStepContribution()
ChunkResponse.getStepContribution()
Modifier and TypeMethodDescriptionChunkMessageChannelItemWriter.getStepContributions()
StepContributionSource.getStepContributions()
Get the currently available contributions and drain the source.Modifier and TypeMethodDescriptionprotected void
RemoteChunkHandlerFactoryBean.updateStepContribution
(StepContribution contribution, StepContributionSource stepContributionSource) Update a StepContribution with all the data from a StepContributionSource.ModifierConstructorDescriptionChunkRequest
(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)