Uses of Class
org.springframework.batch.core.repository.JobRestartException
Packages that use JobRestartException
Package
Description
Specific implementations of job concerns.
Flow related constructs including Flow interface, executors, and related exceptions
Interfaces and simple implementations of launch concerns.
Support classes for use in bootstrap and launch implementations or configurations.
Interfaces and generic implementations of repository concerns.
Specific implementations of repository concerns.
Utility classes for batch job/step testing.
-
Uses of JobRestartException in org.springframework.batch.core.job
Methods in org.springframework.batch.core.job that throw JobRestartExceptionModifier 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.protected boolean
SimpleStepHandler.shouldStart
(StepExecution lastStepExecution, JobExecution jobExecution, Step step) Given a step and configuration, return true if the step should start, false if it should not, and throw an exception if the job should finish. -
Uses of JobRestartException in org.springframework.batch.core.job.flow
Methods in org.springframework.batch.core.job.flow that throw JobRestartExceptionModifier and TypeMethodDescriptionFlowExecutor.executeStep
(Step step) JobFlowExecutor.executeStep
(Step step) -
Uses of JobRestartException in org.springframework.batch.core.launch
Methods in org.springframework.batch.core.launch that throw JobRestartExceptionModifier and TypeMethodDescriptionJobOperator.restart
(long executionId) Restart a failed or stoppedJobExecution
.JobLauncher.run
(Job job, JobParameters jobParameters) Start a job execution for the givenJob
andJobParameters
.JobOperator.startNextInstance
(String jobName) Launch the next in a sequence ofJobInstance
determined by theJobParametersIncrementer
attached to the specified job. -
Uses of JobRestartException in org.springframework.batch.core.launch.support
Methods in org.springframework.batch.core.launch.support that throw JobRestartExceptionModifier and TypeMethodDescriptionSimpleJobOperator.restart
(long executionId) TaskExecutorJobLauncher.run
(Job job, JobParameters jobParameters) Run the provided job with the givenJobParameters
. -
Uses of JobRestartException in org.springframework.batch.core.repository
Methods in org.springframework.batch.core.repository that throw JobRestartExceptionModifier and TypeMethodDescriptionJobRepository.createJobExecution
(String jobName, JobParameters jobParameters) -
Uses of JobRestartException in org.springframework.batch.core.repository.support
Methods in org.springframework.batch.core.repository.support that throw JobRestartExceptionModifier and TypeMethodDescriptionSimpleJobRepository.createJobExecution
(String jobName, JobParameters jobParameters) -
Uses of JobRestartException in org.springframework.batch.test
Methods in org.springframework.batch.test that throw JobRestartExceptionModifier and TypeMethodDescriptionJobRepositoryTestUtils.createJobExecutions
(int count) Use theJobRepository
to create someJobExecution
instances each with a single step execution.JobRepositoryTestUtils.createJobExecutions
(String jobName, String[] stepNames, int count) Use theJobRepository
to create someJobExecution
instances each with the given job name and each having step executions with the given step names.