public class JsrFlowJob extends FlowJob
FlowJob
.logger
Constructor and Description |
---|
JsrFlowJob()
No arg constructor (invalid state)
|
JsrFlowJob(java.lang.String name)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(JobExecution execution)
Extension point for subclasses allowing them to concentrate on processing
logic and ignore listeners and repository calls.
|
protected ExitStatus |
getDefaultExitStatusForFailure(java.lang.Throwable ex,
JobExecution execution)
Default mapping from throwable to
ExitStatus . |
void |
setJobExplorer(JobExplorer jobExplorer) |
getStep, getStepNames, setFlow
afterPropertiesSet, execute, getJobParametersIncrementer, getJobParametersValidator, getJobRepository, getName, handleStep, isRestartable, registerJobExecutionListener, setBeanName, setJobExecutionListeners, setJobParametersIncrementer, setJobParametersValidator, setJobRepository, setName, setRestartable, toString
public JsrFlowJob()
public JsrFlowJob(java.lang.String name)
name
- of the flowpublic void setJobExplorer(JobExplorer jobExplorer)
protected void doExecute(JobExecution execution) throws JobExecutionException
AbstractJob
AbstractJob.handleStep(Step, JobExecution)
.doExecute
in class FlowJob
execution
- the current JobExecution
JobExecutionException
- to signal a fatal batch framework error (not a business or
validation exception)AbstractJob.doExecute(JobExecution)
protected ExitStatus getDefaultExitStatusForFailure(java.lang.Throwable ex, JobExecution execution)
ExitStatus
.getDefaultExitStatusForFailure
in class AbstractJob
ex
- the cause of the failureExitStatus