Package com.crawljax.core
Class CandidateCrawlAction
- java.lang.Object
-
- com.crawljax.core.CandidateCrawlAction
-
public class CandidateCrawlAction extends Object
This class corresponds the combination of a CandidateElement and a single eventType.- Author:
- Stefan Lenselink <S.R.Lenselink@student.tudelft.nl>
-
-
Field Summary
Fields Modifier and Type Field Description private CandidateElementcandidateElementprivate Eventable.EventTypeeventType
-
Constructor Summary
Constructors Constructor Description CandidateCrawlAction(CandidateElement candidateElement, Eventable.EventType eventType)The Constructor for the CandidateCrawlAction, build a new instance with the CandidateElement and the EventType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CandidateElementgetCandidateElement()Eventable.EventTypegetEventType()StringtoString()
-
-
-
Field Detail
-
candidateElement
private final CandidateElement candidateElement
-
eventType
private final Eventable.EventType eventType
-
-
Constructor Detail
-
CandidateCrawlAction
public CandidateCrawlAction(CandidateElement candidateElement, Eventable.EventType eventType)
The Constructor for the CandidateCrawlAction, build a new instance with the CandidateElement and the EventType.- Parameters:
candidateElement- the element to execute the eventType oneventType- the eventType to execute on the Candidate Element.
-
-
Method Detail
-
getCandidateElement
public CandidateElement getCandidateElement()
- Returns:
- the candidateElement
-
getEventType
public Eventable.EventType getEventType()
- Returns:
- the eventType
-
-