Package com.crawljax.core.configuration

Examples of com.crawljax.core.configuration.CrawlSpecificationReader


   * @throws ConfigurationException
   *             if the configuration fails.
   */
  public CrawljaxController(final CrawljaxConfiguration config) throws ConfigurationException {
    configurationReader = new CrawljaxConfigurationReader(config);
    CrawlSpecificationReader crawlerReader =
            configurationReader.getCrawlSpecificationReader();

    stateComparator = new StateComparator(crawlerReader.getOracleComparators());
    invariantList = crawlerReader.getInvariants();
    crawlConditionChecker = new CrawlConditionChecker(crawlerReader.getCrawlConditions());
    waitConditionChecker.setWaitConditions(crawlerReader.getWaitConditions());
    eventableConditionChecker =
            new EventableConditionChecker(configurationReader.getEventableConditions());

    elementChecker =
            new CandidateElementManager(eventableConditionChecker, crawlConditionChecker);
View Full Code Here


   * @throws ConfigurationException
   *             if the configuration fails.
   */
  public CrawljaxController(final CrawljaxConfiguration config) throws ConfigurationException {
    configurationReader = new CrawljaxConfigurationReader(config);
    CrawlSpecificationReader crawlerReader =
            configurationReader.getCrawlSpecificationReader();

    stateComparator = new StateComparator(crawlerReader.getOracleComparators());
    invariantList = crawlerReader.getInvariants();
    crawlConditionChecker = new CrawlConditionChecker(crawlerReader.getCrawlConditions());
    waitConditionChecker.setWaitConditions(crawlerReader.getWaitConditions());
    eventableConditionChecker =
            new EventableConditionChecker(configurationReader.getEventableConditions());

    elementChecker =
            new CandidateElementManager(eventableConditionChecker, crawlConditionChecker);
View Full Code Here

   * @throws ConfigurationException
   *             if the configuration fails.
   */
  public CrawljaxController(final CrawljaxConfiguration config) throws ConfigurationException {
    configurationReader = new CrawljaxConfigurationReader(config);
    CrawlSpecificationReader crawlerReader =
            configurationReader.getCrawlSpecificationReader();

    stateComparator = new StateComparator(crawlerReader.getOracleComparators());
    invariantList = crawlerReader.getInvariants();
    crawlConditionChecker = new CrawlConditionChecker(crawlerReader.getCrawlConditions());
    waitConditionChecker.setWaitConditions(crawlerReader.getWaitConditions());
    eventableConditionChecker =
            new EventableConditionChecker(configurationReader.getEventableConditions());

    elementChecker =
            new CandidateElementManager(eventableConditionChecker, crawlConditionChecker);
View Full Code Here

TOP

Related Classes of com.crawljax.core.configuration.CrawlSpecificationReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.