Class FileChecker

java.lang.Object
com.almis.awe.config.ServiceConfig
com.almis.awe.scheduler.filechecker.FileChecker
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class FileChecker extends ServiceConfig
Author:
dfuentes
  • Constructor Details

    • FileChecker

      public FileChecker(FTPFileChecker ftpFileChecker, FolderFileChecker folderFileChecker)
      Autowired constructor
      Parameters:
      ftpFileChecker - FTP File checker
      folderFileChecker - Folder file checker
  • Method Details

    • checkFile

      public String checkFile(Task task)
      Checks a file if needed and returns if it has changed or not
      Parameters:
      task -
      Returns:
      boolean