Uses of Enum Class
org.springframework.batch.repeat.RepeatStatus
Packages that use RepeatStatus
Package
Description
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.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. there is a data source that is not yet exhausted.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.