Uses of Enum Class
org.springframework.batch.repeat.RepeatStatus
Packages that use 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
Methods in org.springframework.batch.core.resource with parameters of type RepeatStatusModifier and TypeMethodDescriptionbooleanStepExecutionSimpleCompletionPolicy.isComplete(RepeatContext context, RepeatStatus result) -
Uses of RepeatStatus in org.springframework.batch.core.scope.context
Methods in org.springframework.batch.core.scope.context that return RepeatStatusModifier and TypeMethodDescriptionabstract RepeatStatusStepContextRepeatCallback.doInChunkContext(RepeatContext context, ChunkContext chunkContext) Do the work required for this chunk of the step.StepContextRepeatCallback.doInIteration(RepeatContext context) Manage theStepContextlifecycle. -
Uses of RepeatStatus in org.springframework.batch.core.step.item
Methods in org.springframework.batch.core.step.item that return RepeatStatusModifier and TypeMethodDescriptionChunkOrientedTasklet.execute(StepContribution contribution, ChunkContext chunkContext) -
Uses of RepeatStatus in org.springframework.batch.core.step.tasklet
Methods in org.springframework.batch.core.step.tasklet that return RepeatStatusModifier 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.Method parameters in org.springframework.batch.core.step.tasklet with type arguments of type RepeatStatusModifier and TypeMethodDescriptionvoidCallableTaskletAdapter.setCallable(Callable<RepeatStatus> callable) Public setter for theCallable.Constructor parameters in org.springframework.batch.core.step.tasklet with type arguments of type RepeatStatusModifierConstructorDescriptionCallableTaskletAdapter(Callable<RepeatStatus> callable) Create a newCallableTaskletAdapterinstance. -
Uses of RepeatStatus in org.springframework.batch.repeat
Methods in org.springframework.batch.repeat that return RepeatStatusModifier and TypeMethodDescriptionRepeatStatus.and(boolean value) static RepeatStatusRepeatStatus.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 RepeatStatusReturns 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.Methods in org.springframework.batch.repeat with parameters of type RepeatStatusModifier and TypeMethodDescriptiondefault voidRepeatListener.after(RepeatContext context, RepeatStatus result) Called by the framework after each item has been processed, unless the item processing results in an exception.booleanCompletionPolicy.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
Methods in org.springframework.batch.repeat.callback that return RepeatStatusModifier and TypeMethodDescriptionNestedRepeatCallback.doInIteration(RepeatContext context) Simply calls template.execute(callback). -
Uses of RepeatStatus in org.springframework.batch.repeat.listener
Methods in org.springframework.batch.repeat.listener with parameters of type RepeatStatusModifier and TypeMethodDescriptionvoidCompositeRepeatListener.after(RepeatContext context, RepeatStatus result) voidRepeatListenerSupport.after(RepeatContext context, RepeatStatus result) Deprecated. -
Uses of RepeatStatus in org.springframework.batch.repeat.policy
Methods in org.springframework.batch.repeat.policy with parameters of type RepeatStatusModifier and TypeMethodDescriptionbooleanCompletionPolicySupport.isComplete(RepeatContext context, RepeatStatus result) If exit status is not continuable returntrue, otherwise delegate toCompletionPolicySupport.isComplete(RepeatContext).booleanCompositeCompletionPolicy.isComplete(RepeatContext context, RepeatStatus result) This policy is complete if any of the composed policies is complete.booleanDefaultResultCompletionPolicy.isComplete(RepeatContext context, RepeatStatus result) True if the result is null, or aRepeatStatusindicating completion.booleanSimpleCompletionPolicy.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
Methods in org.springframework.batch.repeat.support that return RepeatStatusModifier and TypeMethodDescriptionprotected RepeatStatusRepeatTemplate.getNextResult(RepeatContext context, RepeatCallback callback, RepeatInternalState state) Get the next completed result, possibly executing several callbacks until one finally finishes.protected RepeatStatusTaskExecutorRepeatTemplate.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.Methods in org.springframework.batch.repeat.support with parameters of type RepeatStatusModifier and TypeMethodDescriptionprotected final booleanRepeatTemplate.canContinue(RepeatStatus value) Check return value from batch operation.protected voidRepeatTemplate.executeAfterInterceptors(RepeatContext context, RepeatStatus value) Convenience method to execute after interceptors on a callback result.protected booleanRepeatTemplate.isComplete(RepeatContext context, RepeatStatus result) Delegate to theCompletionPolicy.