org.springframework.batch.core
Interface Job
- All Known Implementing Classes:
- AbstractJob, SimpleJob
public interface Job
Batch domain object representing a job. Job is an explicit abstraction
representing the configuration of a job specified by a developer. It should
be noted that restart policy is applied to the job as a whole and not to a
step.
- Author:
- Dave Syer
getName
String getName()
getSteps
List getSteps()
isRestartable
boolean isRestartable()
execute
void execute(JobExecution execution)
throws JobExecutionException
- Run the
JobExecution
and update the meta information like status
and statistics as necessary.
- Parameters:
execution
- a JobExecution
- Throws:
JobExecutionException
Copyright © 2008 SpringSource. All Rights Reserved.