Uses of Class
com.crawljax.core.state.Eventable
-
Packages that use Eventable Package Description com.crawljax.browser This is the core package for the browsers.com.crawljax.core com.crawljax.core.plugin com.crawljax.core.state com.crawljax.forms Forms package.com.crawljax.util Utility classes. -
-
Uses of Eventable in com.crawljax.browser
Methods in com.crawljax.browser with parameters of type Eventable Modifier and Type Method Description booleanEmbeddedBrowser. fireEventAndWait(Eventable event)fires the event.booleanWebDriverBackedEmbeddedBrowser. fireEventAndWait(Eventable eventable)Fires an event on an element using its identification.private booleanWebDriverBackedEmbeddedBrowser. fireEventWait(org.openqa.selenium.WebElement webElement, Eventable eventable)Fires the event and waits for a specified time. -
Uses of Eventable in com.crawljax.core
Fields in com.crawljax.core with type parameters of type Eventable Modifier and Type Field Description private Collection<List<Eventable>>CrawlSession. crawlPathsThis ConcurrentLinkedQueue holds all the Paths that are executed during the CrawlSession so far.private List<Eventable>UnfiredFragmentCandidates. skipInputsForPathMethods in com.crawljax.core that return Eventable Modifier and Type Method Description private EventableCrawler. getResetEquivalent()private EventableCrawler. resolveByXpath(Eventable eventable, Eventable eventToFire)Methods in com.crawljax.core that return types with arguments of type Eventable Modifier and Type Method Description private ArrayList<Eventable>Crawler. follow(CrawlPath path, StateVertex targetState)private ArrayList<Eventable>Crawler. followNew(CrawlPath path, StateVertex targetState)private ArrayList<Eventable>Crawler. followOld(CrawlPath path, StateVertex targetState)Collection<List<Eventable>>CrawlSession. getCrawlPaths()private com.google.common.collect.ImmutableList<Eventable>Crawler. shortestPathTo(StateVertex crawlTask)private com.google.common.collect.ImmutableList<Eventable>Crawler. shortestPathTo(StateVertex crawlTask, StateVertex onURL)Methods in com.crawljax.core with parameters of type Eventable Modifier and Type Method Description private StateVertexCrawler. changeState(StateVertex targetState, Eventable clickable)voidUnfiredFragmentCandidates. disableInputsForPath(Eventable event)private booleanCrawler. domChanged(Eventable eventable, StateVertex newState)private booleanCrawler. fireEvent(Eventable eventable, boolean resolveXpath)Try to fire a given event on the Browser.booleanCrawler. fireEventWithInputs(Eventable event)booleanCrawler. fireEventWithInputs(Eventable event, List<FormInput> available)List<FormInput>UnfiredFragmentCandidates. getInput(Eventable event)private List<FormInput>Crawler. getInputElements(Eventable eventable)private List<FormInput>Crawler. handleInputElements(Eventable eventable)Enters the form data.private List<FormInput>Crawler. handleInputs_pairwise(Eventable event, List<FormInput> available)private booleanCrawler. inspectNewDom(Eventable event, StateVertex newState)(package private) booleanCrawler. inspectNewState(Eventable event)booleanCrawler. isValid(Eventable eventable)voidUnfiredFragmentCandidates. mapInput(Eventable event, List<FormInput> worked)private EventableCrawler. resolveByXpath(Eventable eventable, Eventable eventToFire)booleanUnfiredFragmentCandidates. shouldDisableInput(Eventable event)private voidCrawler. tryToFireEvent(StateVertex targetState, StateVertex curState, Eventable clickable)private booleanCrawler. visitAnchorHrefIfPossible(Eventable eventable)private voidCrawler. waitForRefreshTagIfAny(Eventable eventable)Method parameters in com.crawljax.core with type arguments of type Eventable Modifier and Type Method Description static StringCrawler. printCrawlPath(List<Eventable> path, boolean print)protected voidCrawlSession. removeCrawlPath(List<Eventable> path)Remove the current path from the set of crawlPaths. -
Uses of Eventable in com.crawljax.core.plugin
Methods in com.crawljax.core.plugin with parameters of type Eventable Modifier and Type Method Description voidOnFireEventFailedPlugin. onFireEventFailed(CrawlerContext context, Eventable eventable, List<Eventable> pathToFailure)Method that is called when an event that was requested to fire failed firing.voidPlugins. runOnFireEventFailedPlugins(CrawlerContext context, Eventable eventable, List<Eventable> path)Load and run the OnFireEventFailedPlugins, this call has been made from the fireEvent when the event is not fireable.Method parameters in com.crawljax.core.plugin with type arguments of type Eventable Modifier and Type Method Description voidOnFireEventFailedPlugin. onFireEventFailed(CrawlerContext context, Eventable eventable, List<Eventable> pathToFailure)Method that is called when an event that was requested to fire failed firing.voidPlugins. runOnFireEventFailedPlugins(CrawlerContext context, Eventable eventable, List<Eventable> path)Load and run the OnFireEventFailedPlugins, this call has been made from the fireEvent when the event is not fireable. -
Uses of Eventable in com.crawljax.core.state
Fields in com.crawljax.core.state with type parameters of type Eventable Modifier and Type Field Description private List<Eventable>CrawlPath. eventablePathprivate List<Eventable>InMemoryStateFlowGraph. expiredEdgesprivate org.jgrapht.graph.AbstractBaseGraph<StateVertex,Eventable>InMemoryStateFlowGraph. sfgMethods in com.crawljax.core.state that return Eventable Modifier and Type Method Description EventableCrawlPath. last()Get the last Eventable in the path.Methods in com.crawljax.core.state that return types with arguments of type Eventable Modifier and Type Method Description protected List<Eventable>CrawlPath. delegate()com.google.common.collect.ImmutableSet<Eventable>InMemoryStateFlowGraph. getAllEdges()com.google.common.collect.ImmutableSet<Eventable>StateFlowGraph. getAllEdges()Return all the edges in the StateFlowGraph.List<List<org.jgrapht.GraphPath<StateVertex,Eventable>>>InMemoryStateFlowGraph. getAllPossiblePaths(StateVertex index)List<List<org.jgrapht.GraphPath<StateVertex,Eventable>>>StateFlowGraph. getAllPossiblePaths(StateVertex index)This method returns all possible paths from the index state using the k-shortest paths.List<Eventable>InMemoryStateFlowGraph. getExpiredEdges()com.google.common.collect.ImmutableSet<Eventable>InMemoryStateFlowGraph. getIncomingClickable(StateVertex stateVertex)com.google.common.collect.ImmutableSet<Eventable>StateFlowGraph. getIncomingClickable(StateVertex stateVertex)Returns a set of all edges incoming into the specified vertex.com.google.common.collect.ImmutableSet<Eventable>InMemoryStateFlowGraph. getOutgoingClickables(StateVertex stateVertex)com.google.common.collect.ImmutableSet<Eventable>StateFlowGraph. getOutgoingClickables(StateVertex stateVertex)Returns a set of all clickables outgoing from the specified vertex.com.google.common.collect.ImmutableList<Eventable>InMemoryStateFlowGraph. getShortestPath(StateVertex start, StateVertex end)com.google.common.collect.ImmutableList<Eventable>StateFlowGraph. getShortestPath(StateVertex start, StateVertex end)Convenience method to find the Dijkstra shortest path between two states on the graph.Methods in com.crawljax.core.state with parameters of type Eventable Modifier and Type Method Description booleanInMemoryStateFlowGraph. addEdge(StateVertex sourceVertex, StateVertex targetVertex, Eventable clickable)Adds the specified edge to this graph, going from the source vertex to the target vertex.private StateVertexStateMachine. addStateToCurrentState(StateVertex newState, Eventable eventable)Adds the newState and the edge between the currentState and the newState on the SFG.CandidateElementStateVertex. getCandidateElement(Eventable clone)CandidateElementStateVertexImpl. getCandidateElement(Eventable event)booleanInMemoryStateFlowGraph. removeEdge(Eventable event)booleanStateFlowGraph. removeEdge(Eventable event)booleanInMemoryStateFlowGraph. restoreEdge(Eventable event)booleanStateFlowGraph. restoreEdge(Eventable event)booleanStateMachine. switchToStateAndCheckIfClone(Eventable event, StateVertex newState, CrawlerContext context)Adds an edge between the current and new state.Method parameters in com.crawljax.core.state with type arguments of type Eventable Modifier and Type Method Description static CrawlPathCrawlPath. copyOf(List<Eventable> eventable, int backtrackTarget)Constructor parameters in com.crawljax.core.state with type arguments of type Eventable Constructor Description CrawlPath(List<Eventable> delegate, int backtrackTarget)Create a new CrawlPath based on a delegate. -
Uses of Eventable in com.crawljax.forms
Fields in com.crawljax.forms declared as Eventable Modifier and Type Field Description private EventableFormInput. eventableMethods in com.crawljax.forms that return Eventable Modifier and Type Method Description EventableFormInput. getEventable()Methods in com.crawljax.forms with parameters of type Eventable Modifier and Type Method Description voidFormInput. setEventable(Eventable eventable) -
Uses of Eventable in com.crawljax.util
Fields in com.crawljax.util declared as Eventable Modifier and Type Field Description private EventableElementResolver. eventableFields in com.crawljax.util with type parameters of type Eventable Modifier and Type Field Description private List<Eventable>DomHistoryElement. eventSequenceMethods in com.crawljax.util that return types with arguments of type Eventable Modifier and Type Method Description List<Eventable>DomHistoryElement. getEventSequence()Method parameters in com.crawljax.util with type arguments of type Eventable Modifier and Type Method Description voidDomHistoryElement. setEventSequence(List<Eventable> eventSequence)Constructors in com.crawljax.util with parameters of type Eventable Constructor Description ElementResolver(Eventable eventable, EmbeddedBrowser browser)Constructor.Constructor parameters in com.crawljax.util with type arguments of type Eventable Constructor Description DomHistoryElement(String domStr, List<Eventable> eventSeq)Constructor.DomHistoryElement(String domStr, Document dom, List<Eventable> eventSeq)Constructor.
-