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
*
*/
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;
}