Class MethodResultsNode

java.lang.Object
org.gmetrics.resultsnode.MethodResultsNode
All Implemented Interfaces:
groovy.lang.GroovyObject, ResultsNode

public class MethodResultsNode extends Object implements ResultsNode, groovy.lang.GroovyObject
  • Constructor Details

    • MethodResultsNode

      public MethodResultsNode(String name)
    • MethodResultsNode

      public MethodResultsNode(String name, String signature)
  • Method Details

    • getMetaClass

      public groovy.lang.MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface groovy.lang.GroovyObject
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
    • getName

      public final String getName()
      Specified by:
      getName in interface ResultsNode
    • getSignature

      public final String getSignature()
    • getLevel

      public final MetricLevel getLevel()
      Specified by:
      getLevel in interface ResultsNode
    • getMetricResults

      public final List<MetricResult> getMetricResults()
      Specified by:
      getMetricResults in interface ResultsNode
    • containsClassResults

      public boolean containsClassResults()
      Specified by:
      containsClassResults in interface ResultsNode
    • getMetricResult

      public MetricResult getMetricResult(Metric metric)
      Specified by:
      getMetricResult in interface ResultsNode
    • addMetricResult

      public void addMetricResult(MetricResult metricResult)
    • getChildren

      public Map getChildren()
      Specified by:
      getChildren in interface ResultsNode
    • toString

      public String toString()
      Overrides:
      toString in class Object