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=428ba983cd059ff266e1a12d48fe13b70892a0bf;hpb=616d9c8927b015cd8b652460c6227b40ee1ecd2e;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 428ba983..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 @@ -28,8 +30,9 @@ public interface CrawlerExecutor { /** * Executes the crawler. - * @param aDate Date the crawler is being triggered. + * @param aDate Date the crawler is being triggered. + * @param The report from the crawler. * @throws Exception */ - void execute(Date aDate) throws Exception; + void execute(Date aDate, Report aReport) throws Exception; }