Uses of Class
org.springframework.batch.core.repository.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
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.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
Modifier and TypeMethodDescriptionFlowExecutor.executeStep
(Step step) JobFlowExecutor.executeStep
(Step step) -
Uses of JobRestartException in org.springframework.batch.core.launch
Modifier 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
Modifier and TypeMethodDescriptionSimpleJobOperator.restart
(long executionId) SimpleJobLauncher.run
(Job job, JobParameters jobParameters) Deprecated, for removal: This API element is subject to removal in a future version.Run the provided job with the givenJobParameters
.TaskExecutorJobLauncher.run
(Job job, JobParameters jobParameters) -
Uses of JobRestartException in org.springframework.batch.core.repository
Modifier and TypeMethodDescriptionJobRepository.createJobExecution
(String jobName, JobParameters jobParameters) -
Uses of JobRestartException in org.springframework.batch.core.repository.support
Modifier and TypeMethodDescriptionSimpleJobRepository.createJobExecution
(String jobName, JobParameters jobParameters) -
Uses of JobRestartException in org.springframework.batch.test
Modifier 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.