@Service(value="localExecutor") public class LocalWebharvestTaskExecutor extends java.lang.Object implements IWebharvestTaskExecutor
| Constructor and Description |
|---|
LocalWebharvestTaskExecutor() |
| Modifier and Type | Method and Description |
|---|---|
WebHarvestTaskOutput |
executeWebHarvestTask(Scraper scraper,
WebharvestTaskInput input) |
WebHarvestTaskOutput |
executeWebHarvestTask(WebharvestTaskInput input)
Init web harvest, fill it's context and run web harvest task
|
public WebHarvestTaskOutput executeWebHarvestTask(WebharvestTaskInput input) throws java.lang.Exception
executeWebHarvestTask in interface IWebharvestTaskExecutorinput - input data and configuration parameters for the executionjava.lang.Exception - if an error occurspublic WebHarvestTaskOutput executeWebHarvestTask(Scraper scraper, WebharvestTaskInput input) throws java.lang.Exception
java.lang.Exception