org.springframework.batch.core.repository.support
Class MockStepDao

java.lang.Object
  extended by org.springframework.batch.core.repository.support.MockStepDao
All Implemented Interfaces:
StepExecutionDao

public class MockStepDao
extends Object
implements StepExecutionDao


Constructor Summary
MockStepDao()
           
 
Method Summary
 ExecutionContext findExecutionContext(StepExecution stepExecution)
           
 List findStepInstances(JobInstance job)
           
 StepExecution getStepExecution(JobExecution jobExecution, Step step)
           
 void saveOrUpdateExecutionContext(StepExecution stepExecution)
           
 void saveStepExecution(StepExecution stepExecution)
           
 void setStepsToReturnOnCreate(List steps)
           
 void updateStepExecution(StepExecution stepExecution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockStepDao

public MockStepDao()
Method Detail

findStepInstances

public List findStepInstances(JobInstance job)

saveStepExecution

public void saveStepExecution(StepExecution stepExecution)
Specified by:
saveStepExecution in interface StepExecutionDao

updateStepExecution

public void updateStepExecution(StepExecution stepExecution)
Specified by:
updateStepExecution in interface StepExecutionDao

setStepsToReturnOnCreate

public void setStepsToReturnOnCreate(List steps)

findExecutionContext

public ExecutionContext findExecutionContext(StepExecution stepExecution)
Specified by:
findExecutionContext in interface StepExecutionDao

saveOrUpdateExecutionContext

public void saveOrUpdateExecutionContext(StepExecution stepExecution)
Specified by:
saveOrUpdateExecutionContext in interface StepExecutionDao

getStepExecution

public StepExecution getStepExecution(JobExecution jobExecution,
                                      Step step)
Specified by:
getStepExecution in interface StepExecutionDao


Copyright © 2008 SpringSource. All Rights Reserved.