Package | Description |
---|---|
org.springframework.batch.core.resource | |
org.springframework.batch.core.scope.context | |
org.springframework.batch.core.step.item |
Specific implementations of step concerns for item-oriented approach.
|
org.springframework.batch.core.step.tasklet |
Interfaces and generic implementations of tasklet concerns.
|
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.
|
org.springframework.batch.sample.domain.trade.internal |
Modifier and Type | Method and Description |
---|---|
boolean |
StepExecutionSimpleCompletionPolicy.isComplete(RepeatContext context,
RepeatStatus result) |
Modifier and Type | Method and Description |
---|---|
abstract RepeatStatus |
StepContextRepeatCallback.doInChunkContext(RepeatContext context,
ChunkContext chunkContext)
Do the work required for this chunk of the step.
|
RepeatStatus |
StepContextRepeatCallback.doInIteration(RepeatContext context)
Manage the
StepContext lifecycle. |
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
ChunkOrientedTasklet.execute(StepContribution contribution,
ChunkContext chunkContext) |
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
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.
|
RepeatStatus |
SystemCommandTasklet.execute(StepContribution contribution,
ChunkContext chunkContext)
Execute system command and map its exit code to
ExitStatus using
SystemProcessExitCodeMapper . |
RepeatStatus |
MethodInvokingTaskletAdapter.execute(StepContribution contribution,
ChunkContext chunkContext)
Delegate execution to the target object and translate the return value to
an
ExitStatus by invoking a method in the delegate POJO. |
RepeatStatus |
CallableTaskletAdapter.execute(StepContribution contribution,
ChunkContext chunkContext)
Execute the provided Callable and return its
RepeatStatus . |
Modifier and Type | Method and Description |
---|---|
void |
CallableTaskletAdapter.setCallable(Callable<RepeatStatus> callable)
Public setter for the
Callable . |
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
RepeatStatus.and(boolean value) |
static RepeatStatus |
RepeatStatus.continueIf(boolean continuable) |
RepeatStatus |
RepeatCallback.doInIteration(RepeatContext context)
Implementations return true if they can continue processing - e.g.
|
RepeatStatus |
RepeatOperations.iterate(RepeatCallback callback)
Execute the callback repeatedly, until a decision can be made to
complete.
|
static RepeatStatus |
RepeatStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepeatStatus[] |
RepeatStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
NestedRepeatCallback.doInIteration(RepeatContext context)
Simply calls template.execute(callback).
|
Modifier and Type | Method and Description |
---|---|
void |
RepeatListenerSupport.after(RepeatContext context,
RepeatStatus result) |
void |
CompositeRepeatListener.after(RepeatContext context,
RepeatStatus result) |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleCompletionPolicy.isComplete(RepeatContext context,
RepeatStatus result)
Terminate if the chunk size has been reached, or the result is null.
|
boolean |
DefaultResultCompletionPolicy.isComplete(RepeatContext context,
RepeatStatus result)
True if the result is null, or a
RepeatStatus indicating
completion. |
boolean |
CompositeCompletionPolicy.isComplete(RepeatContext context,
RepeatStatus result)
This policy is complete if any of the composed policies is complete.
|
boolean |
CompletionPolicySupport.isComplete(RepeatContext context,
RepeatStatus result)
If exit status is not continuable return
true , otherwise
delegate to CompletionPolicySupport.isComplete(RepeatContext) . |
Modifier and Type | Method and Description |
---|---|
protected RepeatStatus |
TaskExecutorRepeatTemplate.getNextResult(RepeatContext context,
RepeatCallback callback,
RepeatInternalState state)
Use the
TaskExecutorRepeatTemplate.setTaskExecutor(TaskExecutor) to generate a result. |
protected RepeatStatus |
RepeatTemplate.getNextResult(RepeatContext context,
RepeatCallback callback,
RepeatInternalState state)
Get the next completed result, possibly executing several callbacks until
one finally finishes.
|
RepeatStatus |
RepeatTemplate.iterate(RepeatCallback callback)
Execute the batch callback until the completion policy decides that we
are finished.
|
Modifier and Type | Method and Description |
---|---|
protected 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 the
CompletionPolicy . |
Modifier and Type | Method and Description |
---|---|
void |
HibernateCreditDao.after(RepeatContext context,
RepeatStatus result) |
Copyright © 2014 Pivotal. All rights reserved.