public class SimpleInputSiteCrawl extends SampleCrawler
| Modifier and Type | Field and Description |
|---|---|
static int |
NUMBER_OF_EDGES |
static int |
NUMBER_OF_STATES |
| Constructor and Description |
|---|
SimpleInputSiteCrawl() |
| Modifier and Type | Method and Description |
|---|---|
com.crawljax.core.configuration.InputSpecification |
getInputSpecification() |
void |
setup()
Starts the webserver, configures crawljax.
|
crawl, getConfig, getCrawlSpec, getWebServer, showWebSitepublic static final int NUMBER_OF_STATES
public static final int NUMBER_OF_EDGES
public void setup()
throws Exception
SampleCrawlerSampleCrawler.crawl(). After this method completes, you can configure the
CrawlSpecification and the CrawljaxConfiguration using SampleCrawler.getConfig()
and SampleCrawler.getCrawlSpec().
The CrawlSpecification is configured with
CrawlSpecification.clickDefaultElements().
setup in class SampleCrawlerException - When the webserver fails to start.public com.crawljax.core.configuration.InputSpecification getInputSpecification()
InputSpecification for the input box in this crawl session. You can
override this methods to add more values. By default, it loads with two bad strings,
and one good string.Copyright © 2012. All Rights Reserved.