Class BugInstanceGroup


  • public class BugInstanceGroup
    extends java.lang.Object
    A BugInstanceGroup represents a node in the bug tree which groups related bug instances. For example, it might group all of the bug instances for the same class.
    Author:
    David Hovemeyer
    • Constructor Summary

      Constructors 
      Constructor Description
      BugInstanceGroup​(java.lang.String groupType, java.lang.String groupName)
      Creates a new instance of BugInstanceGroup.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGroupType()
      Get the group type.
      int getMemberCount()
      Get the member count (number of bug instances in this group).
      void incrementMemberCount()
      Increment the member count (number of bug instances in this group).
      java.lang.String toString()
      Convert to string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BugInstanceGroup

        public BugInstanceGroup​(java.lang.String groupType,
                                java.lang.String groupName)
        Creates a new instance of BugInstanceGroup.
        Parameters:
        groupType - string indicating why the bug instances in the group are related
        groupName - name of the group (e.g., the class name if the group is all bug instances in the same class)
    • Method Detail

      • getGroupType

        public java.lang.String getGroupType()
        Get the group type.
      • incrementMemberCount

        public void incrementMemberCount()
        Increment the member count (number of bug instances in this group).
      • getMemberCount

        public int getMemberCount()
        Get the member count (number of bug instances in this group).
      • toString

        public java.lang.String toString()
        Convert to string.
        Overrides:
        toString in class java.lang.Object