X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=crawler%2Fkissweb%2Fsrc%2Forg%2Fwamblee%2Fcrawler%2Fkiss%2Fscheduling%2FCrawlerExecutor.java;h=c5dba6fd129bd2f58891a9299ca98e9959f9e637;hb=35f10e8a91e1660e23de1077bcbc9a5fbcaf8967;hp=e07d90a68ab74cf40384729cff58903d99da8bec;hpb=dcb2b98ba341933291b71f5bba19e490f4842748;p=utils diff --git a/crawler/kissweb/src/org/wamblee/crawler/kiss/scheduling/CrawlerExecutor.java b/crawler/kissweb/src/org/wamblee/crawler/kiss/scheduling/CrawlerExecutor.java index e07d90a6..c5dba6fd 100644 --- a/crawler/kissweb/src/org/wamblee/crawler/kiss/scheduling/CrawlerExecutor.java +++ b/crawler/kissweb/src/org/wamblee/crawler/kiss/scheduling/CrawlerExecutor.java @@ -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; }