Uses of Class
org.springframework.batch.core.JobInterruptedException
Packages that use 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
Methods in org.springframework.batch.core that throw JobInterruptedExceptionModifier 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
Methods in org.springframework.batch.core.job that throw JobInterruptedExceptionModifier 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
Methods in org.springframework.batch.core.job.flow that throw JobInterruptedExceptionModifier and TypeMethodDescriptionFlowExecutor.executeStep
(Step step) JobFlowExecutor.executeStep
(Step step) -
Uses of JobInterruptedException in org.springframework.batch.core.scope.context
Methods in org.springframework.batch.core.scope.context that throw JobInterruptedExceptionModifier and TypeMethodDescriptionvoid
StepScopeManager.execute
(Step step, StepExecution stepExecution) -
Uses of JobInterruptedException in org.springframework.batch.core.step
Methods in org.springframework.batch.core.step that throw JobInterruptedExceptionModifier 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)
).