(no commit message)
[utils] / crawler / kissweb / src / org / wamblee / crawler / kiss / scheduling / CrawlerExecutor.java
index e07d90a68ab74cf40384729cff58903d99da8bec..c5dba6fd129bd2f58891a9299ca98e9959f9e637 100644 (file)
@@ -18,6 +18,8 @@ package org.wamblee.crawler.kiss.scheduling;
 
 import java.util.Date;
 
+import org.wamblee.crawler.kiss.main.Report;
+
 /**
  * Encapsulates the actual execution of the crawler.
  * This interface makes it possible to test the scheduling logic
@@ -25,5 +27,12 @@ import java.util.Date;
  *
  */
 public interface CrawlerExecutor { 
-    void execute(Date aDate) throws Exception;
+    
+    /**
+     * Executes the crawler. 
+     * @param aDate Date the crawler is being triggered.
+     * @param The report from the crawler.  
+     * @throws Exception
+     */
+    void execute(Date aDate, Report aReport) throws Exception;
 }