Class CleanupFileSystemJob

All Implemented Interfaces:
FrankElement, HasApplicationContext, HasName, HasTransactionAttribute, IConfigurable, IScopeProvider, NameAware, IJob, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class CleanupFileSystemJob extends AbstractJobDef
Frank!Framework job to empty files in a given directory that have been stale (untouched) for the given retention duration. See DirectoryCleaner for more info.
  • Constructor Details Link icon

    • CleanupFileSystemJob Link icon

      public CleanupFileSystemJob()
  • Method Details Link icon

    • execute Link icon

      public void execute()
      Description copied from interface: IJob
      Actual implementation of the IJob. Is wrapped around a Locker and exceptions will be managed automatically.
    • addDirectoryCleaner Link icon

      public void addDirectoryCleaner(DirectoryCleaner directoryCleaner)