|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ExitStatus | |
---|---|
org.springframework.batch.repeat | Infrastructure implementations of repeat concerns. |
org.springframework.batch.repeat.callback | Infrastructure implementations of repeat callback concerns. |
org.springframework.batch.repeat.listener | Infrastructure implementations of repeat interceptor concerns. |
org.springframework.batch.repeat.policy | Infrastructure implementations of repeat policy concerns. |
org.springframework.batch.repeat.support | Infrastructure implementations of repeat support concerns. |
Uses of ExitStatus in org.springframework.batch.repeat |
---|
Fields in org.springframework.batch.repeat declared as ExitStatus | |
---|---|
static ExitStatus |
ExitStatus.CONTINUABLE
Convenient constant value representing unfinished processing. |
static ExitStatus |
ExitStatus.FAILED
Convenient constant value representing finished processing with an error. |
static ExitStatus |
ExitStatus.FINISHED
Convenient constant value representing finished processing. |
static ExitStatus |
ExitStatus.NOOP
Convenient constant value representing job that did no processing (e.g. |
static ExitStatus |
ExitStatus.UNKNOWN
Convenient constant value representing unknown state - assumed not continuable. |
Methods in org.springframework.batch.repeat that return ExitStatus | |
---|---|
ExitStatus |
ExitStatus.addExitDescription(String description)
Add an exit description to an existing ExitStatus . |
ExitStatus |
ExitStatus.and(boolean continuable)
Create a new ExitStatus with a logical combination of the
continuable flag. |
ExitStatus |
ExitStatus.and(ExitStatus status)
Create a new ExitStatus with a logical combination of the
continuable flag, and a concatenation of the descriptions. |
ExitStatus |
RepeatCallback.doInIteration(RepeatContext context)
Implementations return true if they can continue processing - e.g. |
ExitStatus |
RepeatOperations.iterate(RepeatCallback callback)
Execute the callback repeatedly, until a decision can be made to complete. |
ExitStatus |
ExitStatus.replaceExitCode(String code)
Add an exit code to an existing ExitStatus . |
Methods in org.springframework.batch.repeat with parameters of type ExitStatus | |
---|---|
void |
RepeatListener.after(RepeatContext context,
ExitStatus result)
Called by the framework after each item has been processed, unless the item processing results in an exception. |
ExitStatus |
ExitStatus.and(ExitStatus status)
Create a new ExitStatus with a logical combination of the
continuable flag, and a concatenation of the descriptions. |
boolean |
CompletionPolicy.isComplete(RepeatContext context,
ExitStatus result)
Determine whether a batch is complete given the latest result from the callback. |
Uses of ExitStatus in org.springframework.batch.repeat.callback |
---|
Methods in org.springframework.batch.repeat.callback that return ExitStatus | |
---|---|
ExitStatus |
NestedRepeatCallback.doInIteration(RepeatContext context)
Simply calls template.execute(callback). |
ExitStatus |
ItemReaderRepeatCallback.doInIteration(RepeatContext context)
Use the writer to process the next item if there is one. |
Uses of ExitStatus in org.springframework.batch.repeat.listener |
---|
Methods in org.springframework.batch.repeat.listener with parameters of type ExitStatus | |
---|---|
void |
RepeatListenerSupport.after(RepeatContext context,
ExitStatus result)
|
void |
CompositeRepeatListener.after(RepeatContext context,
ExitStatus result)
|
Uses of ExitStatus in org.springframework.batch.repeat.policy |
---|
Methods in org.springframework.batch.repeat.policy with parameters of type ExitStatus | |
---|---|
boolean |
SimpleCompletionPolicy.isComplete(RepeatContext context,
ExitStatus result)
Terminate if the chunk size has been reached, or the result is null. |
boolean |
CompletionPolicySupport.isComplete(RepeatContext context,
ExitStatus result)
Return true if exit status is not continuable, otherwise
delegate to CompletionPolicySupport.isComplete(RepeatContext) . |
boolean |
CompositeCompletionPolicy.isComplete(RepeatContext context,
ExitStatus result)
This policy is complete if any of the composed policies is complete. |
boolean |
DefaultResultCompletionPolicy.isComplete(RepeatContext context,
ExitStatus result)
True if the result is null, or a ExitStatus indicating
completion. |
Uses of ExitStatus in org.springframework.batch.repeat.support |
---|
Methods in org.springframework.batch.repeat.support that return ExitStatus | |
---|---|
protected ExitStatus |
TaskExecutorRepeatTemplate.getNextResult(RepeatContext context,
RepeatCallback callback,
RepeatInternalState state)
Use the TaskExecutorRepeatTemplate.setTaskExecutor(TaskExecutor) to generate a result. |
protected ExitStatus |
RepeatTemplate.getNextResult(RepeatContext context,
RepeatCallback callback,
RepeatInternalState state)
Get the next completed result, possibly executing several callbacks until one finally finishes. |
ExitStatus |
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 ExitStatus | |
---|---|
protected boolean |
RepeatTemplate.canContinue(ExitStatus value)
Check return value from batch operation. |
protected void |
RepeatTemplate.executeAfterInterceptors(RepeatContext context,
ExitStatus value)
Convenience method to execute after interceptors on a callback result. |
protected boolean |
RepeatTemplate.isComplete(RepeatContext context,
ExitStatus result)
Delegate to the CompletionPolicy . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |