Class DeleteFilesTasklet


  • public class DeleteFilesTasklet
    extends java.lang.Object
    Deletes a set of files. See Spring resources for more information on how to specify multiple resources.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      org.springframework.batch.repeat.RepeatStatus execute​(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext)  
      void setResources​(org.springframework.core.io.Resource[] resources)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeleteFilesTasklet

        public DeleteFilesTasklet()
    • 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