Uses of Enum Class
org.springframework.batch.repeat.RepeatStatus
Package
Description
Implementation of the contexts for each of the custom bean scopes in Spring Batch (Job
and Step).
Specific implementations of step concerns for item-oriented approach.
Interfaces and generic implementations of tasklet concerns.
Infrastructure implementations of repeat concerns.
Infrastructure implementations of repeat callback concerns.
Infrastructure implementations of repeat interceptor concerns.
Infrastructure implementations of repeat policy concerns.
Infrastructure implementations of repeat support concerns.
-
Uses of RepeatStatus in org.springframework.batch.core.resource
Modifier and TypeMethodDescriptionboolean
StepExecutionSimpleCompletionPolicy.isComplete
(RepeatContext context, RepeatStatus result) -
Uses of RepeatStatus in org.springframework.batch.core.scope.context
Modifier and TypeMethodDescriptionabstract RepeatStatus
StepContextRepeatCallback.doInChunkContext
(RepeatContext context, ChunkContext chunkContext) Do the work required for this chunk of the step.StepContextRepeatCallback.doInIteration
(RepeatContext context) Manage theStepContext
lifecycle. -
Uses of RepeatStatus in org.springframework.batch.core.step.item
Modifier and TypeMethodDescriptionChunkOrientedTasklet.execute
(StepContribution contribution, ChunkContext chunkContext) -
Uses of RepeatStatus 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.Modifier and TypeMethodDescriptionvoid
CallableTaskletAdapter.setCallable
(Callable<RepeatStatus> callable) Public setter for theCallable
. -
Uses of RepeatStatus in org.springframework.batch.repeat
Modifier and TypeMethodDescriptionRepeatStatus.and
(boolean value) static RepeatStatus
RepeatStatus.continueIf
(boolean continuable) RepeatCallback.doInIteration
(RepeatContext context) Implementations return true if they can continue processing - e.g.RepeatOperations.iterate
(RepeatCallback callback) Execute the callback repeatedly, until a decision can be made to complete.static RepeatStatus
Returns the enum constant of this class with the specified name.static RepeatStatus[]
RepeatStatus.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondefault void
RepeatListener.after
(RepeatContext context, RepeatStatus result) Called by the framework after each item has been processed, unless the item processing results in an exception.boolean
CompletionPolicy.isComplete
(RepeatContext context, RepeatStatus result) Determine whether a batch is complete given the latest result from the callback. -
Uses of RepeatStatus in org.springframework.batch.repeat.callback
Modifier and TypeMethodDescriptionNestedRepeatCallback.doInIteration
(RepeatContext context) Simply calls template.execute(callback). -
Uses of RepeatStatus in org.springframework.batch.repeat.listener
Modifier and TypeMethodDescriptionvoid
CompositeRepeatListener.after
(RepeatContext context, RepeatStatus result) void
RepeatListenerSupport.after
(RepeatContext context, RepeatStatus result) Deprecated. -
Uses of RepeatStatus in org.springframework.batch.repeat.policy
Modifier and TypeMethodDescriptionboolean
CompletionPolicySupport.isComplete
(RepeatContext context, RepeatStatus result) If exit status is not continuable returntrue
, otherwise delegate toCompletionPolicySupport.isComplete(RepeatContext)
.boolean
CompositeCompletionPolicy.isComplete
(RepeatContext context, RepeatStatus result) This policy is complete if any of the composed policies is complete.boolean
DefaultResultCompletionPolicy.isComplete
(RepeatContext context, RepeatStatus result) True if the result is null, or aRepeatStatus
indicating completion.boolean
SimpleCompletionPolicy.isComplete
(RepeatContext context, RepeatStatus result) Terminate if the chunk size has been reached, or the result is null. -
Uses of RepeatStatus in org.springframework.batch.repeat.support
Modifier and TypeMethodDescriptionprotected RepeatStatus
RepeatTemplate.getNextResult
(RepeatContext context, RepeatCallback callback, RepeatInternalState state) Get the next completed result, possibly executing several callbacks until one finally finishes.protected RepeatStatus
TaskExecutorRepeatTemplate.getNextResult
(RepeatContext context, RepeatCallback callback, RepeatInternalState state) Use theTaskExecutorRepeatTemplate.setTaskExecutor(TaskExecutor)
to generate a result.RepeatTemplate.iterate
(RepeatCallback callback) Execute the batch callback until the completion policy decides that we are finished.Modifier and TypeMethodDescriptionprotected final boolean
RepeatTemplate.canContinue
(RepeatStatus value) Check return value from batch operation.protected void
RepeatTemplate.executeAfterInterceptors
(RepeatContext context, RepeatStatus value) Convenience method to execute after interceptors on a callback result.protected boolean
RepeatTemplate.isComplete
(RepeatContext context, RepeatStatus result) Delegate to theCompletionPolicy
.