Package com.crawljax.core.state

Examples of com.crawljax.core.state.CrawlPath


    }
    stateMachine =
            new StateMachine(graphProvider.get(),
                    crawlRules.getInvariants(), plugins, stateComparator);
    context.setStateMachine(stateMachine);
    crawlpath = new CrawlPath();
    browser.goToUrl(url);
    plugins.runOnUrlLoadPlugins(context);
    crawlDepth.set(0);
  }
View Full Code Here


    return waitTime;
  }

  private void goBackOneState() {
    LOG.debug("Going back one state");
    CrawlPath currentPath = crawlpath.immutableCopy();
    crawlpath = null;
    StateVertex current = stateMachine.getCurrentState();
    reset();
    follow(currentPath, current);
  }
View Full Code Here

    }
    stateMachine =
            new StateMachine(graphProvider.get(),
                    crawlRules.getInvariants(), plugins, stateComparator);
    context.setStateMachine(stateMachine);
    crawlpath = new CrawlPath();
    context.setCrawlPath(crawlpath);
    browser.goToUrl(url);
    plugins.runOnUrlLoadPlugins(context);
    crawlDepth.set(0);
  }
View Full Code Here

    return waitTime;
  }

  private void goBackOneState() {
    LOG.debug("Going back one state");
    CrawlPath currentPath = crawlpath.immutableCopy();
    crawlpath = null;
    StateVertex current = stateMachine.getCurrentState();
    reset();
    follow(currentPath, current);
  }
View Full Code Here

    }
    stateMachine =
            new StateMachine(sess.getStateFlowGraph(),
                    crawlRules.getInvariants(), plugins, stateComparator);
    context.setStateMachine(stateMachine);
    crawlpath = new CrawlPath();
    browser.goToUrl(url);
    plugins.runOnUrlLoadPlugins(context);
    crawlDepth.set(0);
  }
View Full Code Here

    return waitTime;
  }

  private void goBackOneState() {
    LOG.debug("Going back one state");
    CrawlPath currentPath = crawlpath.immutableCopy();
    crawlpath = null;
    StateVertex current = stateMachine.getCurrentState();
    reset();
    follow(currentPath, current);
  }
View Full Code Here

    }
    stateMachine =
            new StateMachine(graphProvider.get(),
                    crawlRules.getInvariants(), plugins, stateComparator);
    context.setStateMachine(stateMachine);
    crawlpath = new CrawlPath();
    context.setCrawlPath(crawlpath);
    browser.goToUrl(url);
    plugins.runOnUrlLoadPlugins(context);
    crawlDepth.set(0);
  }
View Full Code Here

    return waitTime;
  }

  private void goBackOneState() {
    LOG.debug("Going back one state");
    CrawlPath currentPath = crawlpath.immutableCopy();
    crawlpath = null;
    StateVertex current = stateMachine.getCurrentState();
    reset();
    follow(currentPath, current);
  }
View Full Code Here

   *            the event path up till this moment.
   * @param name
   *            a name for this crawler (default is empty).
   */
  public Crawler(CrawljaxController mother, List<Eventable> exactEventPath, String name) {
    this(mother, new CrawlPath(exactEventPath));
    this.name = name;
  }
View Full Code Here

   *            the path used to return to the last state, this can be a empty list
   * @deprecated better to use {@link #Crawler(CrawljaxController, CrawlPath)}
   */
  @Deprecated
  protected Crawler(CrawljaxController mother, List<Eventable> returnPath) {
    this(mother, new CrawlPath(returnPath));
  }
View Full Code Here

TOP

Related Classes of com.crawljax.core.state.CrawlPath

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.