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 Detail

      • getId

        java.lang.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.
      • getVertices

        java.util.Set<VertexRef> getVertices()
        Fetch the list of child vertices that should be collapsed
      • getCollapsedRepresentation

        Vertex getCollapsedRepresentation()
        This function returns the vertex that will be used to represent the group when the state is set to collapsed.
      • getLabel

        java.lang.String getLabel()
      • getNamespace

        java.lang.String getNamespace()