org.shiftone.jrat.provider.tree.ui.hierarchy.nodes
Class ClassHierarchyNode

java.lang.Object
  extended by org.shiftone.jrat.provider.tree.ui.hierarchy.nodes.HierarchyNode
      extended by org.shiftone.jrat.provider.tree.ui.hierarchy.nodes.ClassHierarchyNode

public class ClassHierarchyNode
extends HierarchyNode

Author:
jeff@shiftone.org (Jeff Drost)

Constructor Summary
ClassHierarchyNode(java.lang.String name, MethodSummaryModel methodSummaryModel)
           
 
Method Summary
 void addMethod(MethodHierarchyNode methodNode)
           
 void finalizeStatistics()
           
 java.util.List getChildren()
           
 int getExecutedMethods()
           
 long getTotalDuration()
           
 long getTotalErrors()
           
 long getTotalExits()
           
 java.lang.Long getTotalMethodDuration()
           
 int getTotalMethods()
           
 
Methods inherited from class org.shiftone.jrat.provider.tree.ui.hierarchy.nodes.HierarchyNode
getChild, getChildCount, getCoverage, getErrorRate, getIndexOfChild, getMethodSummaryModel, getName, getTotalMethodPercent, getUncalledMethods, isLeaf, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassHierarchyNode

public ClassHierarchyNode(java.lang.String name,
                          MethodSummaryModel methodSummaryModel)
Method Detail

finalizeStatistics

public void finalizeStatistics()
Specified by:
finalizeStatistics in class HierarchyNode

addMethod

public void addMethod(MethodHierarchyNode methodNode)

getChildren

public java.util.List getChildren()
Specified by:
getChildren in class HierarchyNode

getTotalMethods

public int getTotalMethods()
Specified by:
getTotalMethods in class HierarchyNode

getExecutedMethods

public int getExecutedMethods()
Specified by:
getExecutedMethods in class HierarchyNode

getTotalDuration

public long getTotalDuration()
Specified by:
getTotalDuration in class HierarchyNode

getTotalExits

public long getTotalExits()
Specified by:
getTotalExits in class HierarchyNode

getTotalErrors

public long getTotalErrors()
Specified by:
getTotalErrors in class HierarchyNode

getTotalMethodDuration

public java.lang.Long getTotalMethodDuration()
Specified by:
getTotalMethodDuration in class HierarchyNode