Package | Description |
---|---|
org.springframework.batch.core |
Core domain context for Spring Batch covering jobs, steps,
configuration and execution abstractions.
|
org.springframework.batch.core.job |
Specific implementations of job concerns.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
JobParametersValidator.validate(JobParameters parameters)
Check the parameters meet whatever requirements are appropriate, and
throw an exception if not.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultJobParametersValidator.validate(JobParameters parameters)
Check the parameters meet the specification provided.
|
void |
CompositeJobParametersValidator.validate(JobParameters parameters)
Validates the JobParameters according to the injected JobParameterValidators
Validation stops and exception is thrown on first validation error
|
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.start(String jobName,
String parameters)
Start a new instance of a job with the parameters specified.
|
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 . |
Long |
SimpleJobOperator.start(String jobName,
String parameters) |
Long |
SimpleJobOperator.startNextInstance(String jobName) |
Copyright © 2014 Pivotal. All rights reserved.