public class IpLikeHopCriteria extends VertexHopGraphProvider.VertexHopCriteria implements SearchCriteria
Modifier and Type | Class and Description |
---|---|
static class |
IpLikeHopCriteria.IPVertex |
Criteria.ElementType
Constructor and Description |
---|
IpLikeHopCriteria(SearchResult searchResult,
IpInterfaceProvider ipInterfaceProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Vertex |
getCollapsedRepresentation()
This function returns the vertex that will be used to represent the group when the state is
set to collapsed.
|
String |
getNamespace()
This criteria only applies to providers for this namespace
|
String |
getSearchString()
Gets query string that was used for the generation of this criterion
|
Set<VertexRef> |
getVertices()
Fetch the list of child vertices that should be collapsed
|
int |
hashCode() |
boolean |
isCollapsed()
Check to see whether the Criteria is collapsed or not.
|
void |
setCollapsed(boolean collapsed)
Set the collapsed state of the criteria.
|
getId, getLabel, getType, isEmpty, setId, setLabel, toString
getCriteriaForGraphContainer, getSingleCriteriaForGraphContainer, isDirty, resetDirty, setDirty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getLabel
public static final String NAMESPACE
public IpLikeHopCriteria(SearchResult searchResult, IpInterfaceProvider ipInterfaceProvider)
public String getSearchString()
SearchCriteria
getSearchString
in interface SearchCriteria
public String getNamespace()
Criteria
getNamespace
in interface CollapsibleCriteria
getNamespace
in class Criteria
public Set<VertexRef> getVertices()
CollapsibleCriteria
getVertices
in interface CollapsibleCriteria
getVertices
in class VertexHopGraphProvider.VertexHopCriteria
public boolean isCollapsed()
CollapsibleCriteria
isCollapsed
in interface CollapsibleCriteria
public void setCollapsed(boolean collapsed)
CollapsibleCriteria
setCollapsed
in interface CollapsibleCriteria
collapsed
- Whether the criteria should be collapsed or not.public Vertex getCollapsedRepresentation()
CollapsibleCriteria
getCollapsedRepresentation
in interface CollapsibleCriteria
Copyright © 2018. All rights reserved.