git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
crawler
/
kissweb
/
src
/
org
/
wamblee
/
crawler
/
kiss
/
scheduling
/
CrawlerExecutor.java
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 428ba983cd059ff266e1a12d48fe13b70892a0bf..c5dba6fd129bd2f58891a9299ca98e9959f9e637 100644
(file)
--- 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 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
/**
* 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.
/**
* 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
*/
* @throws Exception
*/
- void execute(Date aDate) throws Exception;
+ void execute(Date aDate
, Report aReport
) throws Exception;
}
}