IN PROGRESS - BATCH-518: removed ExecutionContext-related methods from StepExecutionDao impls

This commit is contained in:
robokaso
2008-07-29 13:32:41 +00:00
parent 224befce2c
commit 56c9854003
4 changed files with 4 additions and 65 deletions

View File

@@ -16,22 +16,13 @@
package org.springframework.batch.core.repository.support;
import java.util.List;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobInstance;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.StepExecution;
import org.springframework.batch.core.repository.dao.StepExecutionDao;
import org.springframework.batch.item.ExecutionContext;
public class MockStepDao implements StepExecutionDao {
private List<Step> newSteps;
public List<Step> findStepInstances(JobInstance job) {
return newSteps;
}
public void saveStepExecution(StepExecution stepExecution) {
}
@@ -39,17 +30,6 @@ public class MockStepDao implements StepExecutionDao {
public void updateStepExecution(StepExecution stepExecution) {
}
public void setStepsToReturnOnCreate(List<Step> steps) {
this.newSteps = steps;
}
public ExecutionContext findExecutionContext(StepExecution stepExecution) {
return null;
}
public void persistExecutionContext(StepExecution stepExecution) {
}
public StepExecution getStepExecution(JobExecution jobExecution, Step step) {
return null;
}