Java org.springframework.batch.core.job AbstractJob fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.core.job AbstractJob fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.core.job AbstractJob.

The text is from its open source code.

Method

voidexecute(JobExecution execution)
Run the specified job, handling all listener and repository calls, and delegating the actual processing to #doExecute(JobExecution) .
StepgetStep(String stepName)
Retrieve the step with the given name.
CollectiongetStepNames()
Retrieve the step names.
voidregisterJobExecutionListener(JobExecutionListener listener)
Register a single listener for the JobExecutionListener callbacks.
voidsetJobExecutionListeners(JobExecutionListener[] listeners)
Public setter for injecting JobExecutionListener s.
voidsetJobParametersIncrementer(JobParametersIncrementer jobParametersIncrementer)
Public setter for the JobParametersIncrementer .
voidsetJobParametersValidator(JobParametersValidator jobParametersValidator)
A validator for job parameters.
voidsetJobRepository(JobRepository jobRepository)
Public setter for the JobRepository that is needed to manage the state of the batch meta domain (jobs, steps, executions) during the life of a job.
voidsetRestartable(boolean restartable)
Boolean flag to prevent categorically a job from restarting, even if it has failed previously.