com.crawljax.core.CandidateCrawlAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crawljax Show documentation
Show all versions of crawljax Show documentation
Crawling Ajax applications through dynamic analysis and
reconstruction of the UI state changes. Crawljax is based on a
method which dynamically builds a `state-flow graph' modeling
the various navigation paths and states within an Ajax
application.
The newest version!
package com.crawljax.core;
import com.crawljax.core.state.Eventable.EventType;
/**
* This class corresponds the combination of a CandidateElement and a single eventType.
*
* @author Stefan Lenselink
* @version $Id$
*/
public class CandidateCrawlAction {
private final CandidateElement candidateElement;
private final EventType eventType;
/**
* The Constructor for the CandidateCrawlAction, build a new instance with the CandidateElement
* and the EventType.
*
* @param candidateElement
* the element to execute the eventType on
* @param eventType
* the eventType to execute on the Candidate Element.
*/
public CandidateCrawlAction(CandidateElement candidateElement, EventType eventType) {
this.candidateElement = candidateElement;
this.eventType = eventType;
}
/**
* @return the candidateElement
*/
public final CandidateElement getCandidateElement() {
return candidateElement;
}
/**
* @return the eventType
*/
public final EventType getEventType() {
return eventType;
}
}