|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CrawlerController
Management interface for the CrawlerController.
| Field Summary | |
|---|---|
static java.lang.String |
PERFORMANCE_AGENT_LOCATION
The Performance AGENT location. |
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getActiveCrawls()
Returns a Collection of Strings containing the dataSourceIds of the currently active crawls. |
java.util.Collection<java.lang.String> |
getAvailableCrawlers()
returns the CrawlerController known Crawlers. |
CrawlState |
getState(java.lang.String dataSourceId)
Returns the CrawlState of the crawl with the given dataSourceId. |
boolean |
hasActiveCrawls()
Checks if there are any active crawls. |
int |
startCrawl(java.lang.String dataSourceId)
Starts a crawl of the given dataSourceId. |
void |
stopCrawl(java.lang.String dataSourceId)
Stops an active crawl of the given dataSourceId. |
| Field Detail |
|---|
static final java.lang.String PERFORMANCE_AGENT_LOCATION
| Method Detail |
|---|
int startCrawl(java.lang.String dataSourceId)
throws ConnectivityException
dataSourceId - the ID of the data source to crawl
ConnectivityException - if any error occurs
void stopCrawl(java.lang.String dataSourceId)
throws ConnectivityException
dataSourceId - the ID of the data source to stop the crawl
ConnectivityException - if any error occurs
boolean hasActiveCrawls()
throws ConnectivityException
ConnectivityException - if any error occurs
java.util.Collection<java.lang.String> getActiveCrawls()
throws ConnectivityException
ConnectivityException - if any error occurs
CrawlState getState(java.lang.String dataSourceId)
throws ConnectivityException
dataSourceId - the ID of the data source to get the state
ConnectivityException - if any error occursjava.util.Collection<java.lang.String> getAvailableCrawlers()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||