org.shiftone.jrat.provider.tree.ui.hierarchy.nodes
Class PackageHierarchyNode
java.lang.Object
org.shiftone.jrat.provider.tree.ui.hierarchy.nodes.HierarchyNode
org.shiftone.jrat.provider.tree.ui.hierarchy.nodes.PackageHierarchyNode
public class PackageHierarchyNode
- extends HierarchyNode
- Author:
- jeff@shiftone.org (Jeff Drost)
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 |
PackageHierarchyNode
public PackageHierarchyNode(java.lang.String name,
MethodSummaryModel methodSummaryModel)
finalizeStatistics
public void finalizeStatistics()
- Specified by:
finalizeStatistics
in class HierarchyNode
getTotalMethodDuration
public java.lang.Long getTotalMethodDuration()
- Specified by:
getTotalMethodDuration
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
getChildren
public java.util.List getChildren()
- Specified by:
getChildren
in class HierarchyNode
addClass
public void addClass(ClassHierarchyNode classNode)
addPackage
public void addPackage(PackageHierarchyNode packageNode)
getChildPackage
public PackageHierarchyNode getChildPackage(java.lang.String name)
- Retreves the child package with the provided name or creates it if it
does not exist.
getChildPackage
public PackageHierarchyNode getChildPackage(java.lang.String[] nameParts)
getChildClass
public ClassHierarchyNode getChildClass(java.lang.String name)
- Retreves the child class with the provided name or creates it if it does
not exist.