Package se.ikama.bauta.batch.tasklet
Class DeleteFilesTasklet
- java.lang.Object
-
- se.ikama.bauta.batch.tasklet.DeleteFilesTasklet
-
public class DeleteFilesTasklet extends java.lang.ObjectDeletes a set of files. See Spring resources for more information on how to specify multiple resources.
-
-
Constructor Summary
Constructors Constructor Description DeleteFilesTasklet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()org.springframework.batch.repeat.RepeatStatusexecute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext)voidsetResources(org.springframework.core.io.Resource[] resources)
-
-
-
Method Detail
-
execute
public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext) throws java.lang.Exception- Throws:
java.lang.Exception
-
setResources
public void setResources(org.springframework.core.io.Resource[] resources)
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Throws:
java.lang.Exception
-
-