IN PROGRESS - issue BATCH-419: JobListener and StepListener should pass in JobExecution/StepExecution in each method
http://jira.springframework.org/browse/BATCH-419 added StepExecution argument to StepListener#afterStep
This commit is contained in:
@@ -50,5 +50,5 @@ public interface StepListener extends BatchListener {
|
||||
* @return an {@link ExitStatus} to combine with the normal value. Return
|
||||
* null to leave the old value unchanged.
|
||||
*/
|
||||
ExitStatus afterStep();
|
||||
ExitStatus afterStep(StepExecution stepExecution);
|
||||
}
|
||||
|
||||
@@ -33,9 +33,9 @@ public class BatchListenerSupport implements StepListener, ChunkListener,
|
||||
ItemReadListener, ItemWriteListener {
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.springframework.batch.core.domain.StepListener#afterStep()
|
||||
* @see org.springframework.batch.core.domain.StepListener#afterStep(StepExecution stepExecution)
|
||||
*/
|
||||
public ExitStatus afterStep() {
|
||||
public ExitStatus afterStep(StepExecution stepExecution) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,9 +26,9 @@ import org.springframework.batch.repeat.ExitStatus;
|
||||
public class StepListenerSupport implements StepListener {
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.springframework.batch.core.domain.StepListener#close()
|
||||
* @see org.springframework.batch.core.domain.StepListener#afterStep(StepExecution stepExecution)
|
||||
*/
|
||||
public ExitStatus afterStep() {
|
||||
public ExitStatus afterStep(StepExecution stepExecution) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user