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

Method Summary
 void execute(JobExecution execution)
          Run the JobExecution and update the meta information like status and statistics as necessary.
 String getName()
           
 List getSteps()
          Deprecated. planned for removal in 2.0
 boolean isRestartable()
           
 

Method Detail

getName

String getName()

getSteps

List getSteps()
Deprecated. planned for removal in 2.0

Returns:
the Steps executed as part of this job.

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 © 2009 SpringSource. All Rights Reserved.