Package | Description |
---|---|
org.springframework.batch.core.job |
Specific implementations of job concerns.
|
org.springframework.batch.core.job.flow | |
org.springframework.batch.core.launch |
Interfaces and simple implementations of launch concerns.
|
org.springframework.batch.core.launch.support |
Support classes for use in bootstrap and launch implementations or configurations.
|
org.springframework.batch.core.repository |
Interfaces and generic implementations of repository concerns.
|
org.springframework.batch.core.repository.support |
Specific implementations of repository concerns.
|
org.springframework.batch.test |
Modifier and Type | Method and Description |
---|---|
protected void |
SimpleJob.doExecute(JobExecution execution)
Handler of steps sequentially as provided, checking each one for success
before moving to the next.
|
StepExecution |
StepHandler.handleStep(Step step,
JobExecution jobExecution)
Handle a step and return the execution for it.
|
StepExecution |
SimpleStepHandler.handleStep(Step step,
JobExecution execution) |
protected StepExecution |
AbstractJob.handleStep(Step step,
JobExecution execution)
Convenience method for subclasses to delegate the handling of a specific
step in the context of the current
JobExecution . |
Modifier and Type | Method and Description |
---|---|
String |
JobFlowExecutor.executeStep(Step step) |
String |
FlowExecutor.executeStep(Step step) |
Modifier and Type | Method and Description |
---|---|
Long |
JobOperator.restart(long executionId)
Restart a failed or stopped
JobExecution . |
JobExecution |
JobLauncher.run(Job job,
JobParameters jobParameters)
Start a job execution for the given
Job and JobParameters
. |
Long |
JobOperator.startNextInstance(String jobName)
Launch the next in a sequence of
JobInstance determined by the
JobParametersIncrementer attached to the specified job. |
Modifier and Type | Method and Description |
---|---|
Long |
SimpleJobOperator.restart(long executionId) |
JobExecution |
SimpleJobLauncher.run(Job job,
JobParameters jobParameters)
Run the provided job with the given
JobParameters . |
Modifier and Type | Method and Description |
---|---|
JobExecution |
JobRepository.createJobExecution(String jobName,
JobParameters jobParameters)
|
Modifier and Type | Method and Description |
---|---|
JobExecution |
SimpleJobRepository.createJobExecution(String jobName,
JobParameters jobParameters) |
Modifier and Type | Method and Description |
---|---|
List<JobExecution> |
JobRepositoryTestUtils.createJobExecutions(int count)
Use the
JobRepository to create some JobExecution
instances each with a single step execution. |
List<JobExecution> |
JobRepositoryTestUtils.createJobExecutions(String jobName,
String[] stepNames,
int count)
Use the
JobRepository to create some JobExecution
instances each with the given job name and each having step executions
with the given step names. |
Copyright © 2014 Pivotal. All rights reserved.