コード例 #1
0
ファイル: Scheduler.java プロジェクト: alxndrsn/medic-collect
 /**
  * Adds a {@link File} instance to the scheduler. Every minute the file will be parsed. The
  * scheduler will execute any declared task whose scheduling pattern matches the current system
  * time.
  *
  * <p>See {@link CronParser} documentation for informations about the file contents syntax.
  *
  * @param file The {@link File} instance.
  */
 public void scheduleFile(File file) {
   fileTaskCollector.addFile(file);
 }