public interface StateVertex extends Serializable
StateFlowGraph representing a state in the web application.| Modifier and Type | Field and Description |
|---|---|
static int |
INDEX_ID
The
getId() of the Index state. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<CandidateElement> |
getCandidateElements() |
double |
getDist(StateVertex vertexOfGraph) |
double |
getDistToNearestState() |
Document |
getDocument() |
String |
getDom()
Retrieve the DOM String.
|
int |
getId() |
String |
getName()
Retrieve the name of the StateVertex.
|
int |
getNearestState() |
String |
getStrippedDom() |
String |
getUrl() |
boolean |
hasNearDuplicate() |
boolean |
inThreshold(StateVertex vertexOfGraph) |
void |
setDistToNearestState(double distToNearestState) |
void |
setElementsFound(LinkedList<CandidateElement> elements) |
void |
setHasNearDuplicate(boolean b) |
void |
setNearestState(int vertex) |
static final int INDEX_ID
getId() of the Index state.String getName()
String getDom()
String getStrippedDom()
String getUrl()
int getId()
Document getDocument() throws IOException
IOException - if an exception is thrown.void setElementsFound(LinkedList<CandidateElement> elements)
elements - Set the candidate elements for this state vertex that might be fired.com.google.common.collect.ImmutableList<CandidateElement> getCandidateElements()
CandidateElement that might have been fired during the crawl. If an
event was fired it is registered as an Eventable an can be retrieved from
StateFlowGraph.getAllEdges(). If the candidates were not set because of an
error it returns null.boolean hasNearDuplicate()
void setHasNearDuplicate(boolean b)
int getNearestState()
boolean inThreshold(StateVertex vertexOfGraph)
double getDistToNearestState()
void setDistToNearestState(double distToNearestState)
double getDist(StateVertex vertexOfGraph)
void setNearestState(int vertex)
Copyright © 2007–2019. All rights reserved.