Uses of Class
org.springframework.batch.core.JobInterruptedException
Package
Description
Core domain context for Spring Batch covering jobs, steps, configuration and execution
abstractions.
Specific implementations of job concerns.
Flow related constructs including Flow interface, executors, and related exceptions
Implementation of the contexts for each of the custom bean scopes in Spring Batch (Job
and Step).
Specific implementations of step concerns.
-
Uses of JobInterruptedException in org.springframework.batch.core
Modifier and TypeMethodDescriptionvoid
Step.execute
(StepExecution stepExecution) Process the step and assign progress and status meta information to theStepExecution
provided. -
Uses of JobInterruptedException in org.springframework.batch.core.job
Modifier and TypeMethodDescriptionprotected void
SimpleJob.doExecute
(JobExecution execution) Handler of steps sequentially as provided, checking each one for success before moving to the next.protected final StepExecution
AbstractJob.handleStep
(Step step, JobExecution execution) Convenience method for subclasses to delegate the handling of a specific step in the context of the currentJobExecution
.SimpleStepHandler.handleStep
(Step step, JobExecution execution) StepHandler.handleStep
(Step step, JobExecution jobExecution) Handle a step and return the execution for it. -
Uses of JobInterruptedException in org.springframework.batch.core.job.flow
Modifier and TypeMethodDescriptionFlowExecutor.executeStep
(Step step) JobFlowExecutor.executeStep
(Step step) -
Uses of JobInterruptedException in org.springframework.batch.core.scope.context
Modifier and TypeMethodDescriptionvoid
StepScopeManager.execute
(Step step, StepExecution stepExecution) -
Uses of JobInterruptedException in org.springframework.batch.core.step
Modifier and TypeMethodDescriptionvoid
StepInterruptionPolicy.checkInterrupted
(StepExecution stepExecution) Has the job been interrupted? If so then throw aJobInterruptedException
.void
ThreadStepInterruptionPolicy.checkInterrupted
(StepExecution stepExecution) Returns if the current job lifecycle has been interrupted by checking if the current thread is interrupted.final void
AbstractStep.execute
(StepExecution stepExecution) Template method for step execution logic - calls abstract methods for resource initialization (AbstractStep.open(ExecutionContext)
), execution logic (AbstractStep.doExecute(StepExecution)
) and resource closing (AbstractStep.close(ExecutionContext)
).