Interface CollapsibleCriteria
-
- All Known Subinterfaces:
SearchCriteria
- All Known Implementing Classes:
AlarmHopCriteria
,CategoryHopCriteria
,IpLikeHopCriteria
public interface CollapsibleCriteria
This interface indicates that a criteria can be used to "collapse" elements of the graph. When collapsed, all of the elements of the graph will be replaced with a single vertex that represents all of the members. Edges that point to any member will be attached to the single vertex.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vertex
getCollapsedRepresentation()
This function returns the vertex that will be used to represent the group when the state is set to collapsed.String
getId()
String
getLabel()
String
getNamespace()
Set<VertexRef>
getVertices()
Fetch the list of child vertices that should be collapsedboolean
isCollapsed()
Check to see whether the Criteria is collapsed or not.void
setCollapsed(boolean collapsed)
Set the collapsed state of the criteria.
-
-
-
Method Detail
-
getId
String getId()
-
isCollapsed
boolean isCollapsed()
Check to see whether the Criteria is collapsed or not.
-
setCollapsed
void setCollapsed(boolean collapsed)
Set the collapsed state of the criteria.- Parameters:
collapsed
- Whether the criteria should be collapsed or not.
-
getCollapsedRepresentation
Vertex getCollapsedRepresentation()
This function returns the vertex that will be used to represent the group when the state is set to collapsed.
-
getLabel
String getLabel()
-
getNamespace
String getNamespace()
-
-