public class CrawlerContext extends Object
| Constructor and Description |
|---|
CrawlerContext(EmbeddedBrowser browser,
CrawljaxConfiguration config,
javax.inject.Provider<CrawlSession> sessionProvider) |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedBrowser |
getBrowser() |
CrawljaxConfiguration |
getConfig() |
StateVertex |
getCurrentState() |
CrawlSession |
getSession() |
@Inject public CrawlerContext(EmbeddedBrowser browser, CrawljaxConfiguration config, javax.inject.Provider<CrawlSession> sessionProvider)
public EmbeddedBrowser getBrowser()
public CrawlSession getSession()
public CrawljaxConfiguration getConfig()
public StateVertex getCurrentState()
StateVertex or null when the Crawler isn't
initialized yet.Copyright © 2007-2013. All Rights Reserved.