Package: org.gmetrics.resultsnode

## [Groovy] Class PackageResultsNode

- org.gmetrics.resultsnode.PackageResultsNode

- All Implemented Interfaces and Traits:
    ResultsNode

      class PackageResultsNode

  Represents a package node in the hierarchy of metric result nodes

  Authors:
    Chris Mair

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `MetricLevel` | `level`
    `List<MetricResult>` | `metricResults`
    `String` | `name`
    `String` | `packageName`
    `String` | `path`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `PackageResultsNode (String name, String packageName, String path)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `addChild(String name, ResultsNode child)`
    `` | `void` | `addChildIfNotEmpty(String name, ResultsNode child)`
    `` | `void` | `applyMetric(Metric metric)`
    `` | `boolean` | `containsClassResults()`
    `` | `Map<String, ResultsNode>` | `getChildren()`
    `` | `MetricResult` | `getMetricResult(Metric metric)`
    `` | `String` | `toString()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Property Detail

    - #### final MetricLevel level

    - #### final List<MetricResult> metricResults

    - #### final String name

    - #### final String packageName

    - #### final String path

  - ### Constructor Detail

    - #### PackageResultsNode(String name, String packageName, String path)

  - ### Method Detail

    - #### void addChild(String name, ResultsNode child)

    - #### void addChildIfNotEmpty(String name, ResultsNode child)

    - #### void applyMetric(Metric metric)

    - #### boolean containsClassResults()

    - #### Map<String, ResultsNode> getChildren()

    - #### MetricResult getMetricResult(Metric metric)

    - #### String toString()