public class FileDeletionStepExecutionListener
extends java.lang.Object
implements org.springframework.batch.core.StepExecutionListener
Constructor and Description |
---|
FileDeletionStepExecutionListener() |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.core.ExitStatus |
afterStep(org.springframework.batch.core.StepExecution stepExecution) |
void |
beforeStep(org.springframework.batch.core.StepExecution stepExecution) |
void |
setDeleteFiles(boolean deleteFiles) |
void |
setResources(org.springframework.core.io.Resource[] resources) |
public void beforeStep(org.springframework.batch.core.StepExecution stepExecution)
beforeStep
in interface org.springframework.batch.core.StepExecutionListener
public org.springframework.batch.core.ExitStatus afterStep(org.springframework.batch.core.StepExecution stepExecution)
afterStep
in interface org.springframework.batch.core.StepExecutionListener
public void setDeleteFiles(boolean deleteFiles)
public void setResources(org.springframework.core.io.Resource[] resources)