public class MethodResultsNode extends Object implements ResultsNode, groovy.lang.GroovyObject
Constructor and Description |
---|
MethodResultsNode(String name) |
MethodResultsNode(String name,
String signature) |
Modifier and Type | Method and Description |
---|---|
void |
addMetricResult(MetricResult metricResult) |
boolean |
containsClassResults() |
Map |
getChildren() |
MetricLevel |
getLevel() |
groovy.lang.MetaClass |
getMetaClass() |
MetricResult |
getMetricResult(Metric metric) |
List<MetricResult> |
getMetricResults() |
String |
getName() |
Object |
getProperty(String property) |
String |
getSignature() |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
String |
toString() |
public MethodResultsNode(String name)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public final String getName()
getName
in interface ResultsNode
public final String getSignature()
public final MetricLevel getLevel()
getLevel
in interface ResultsNode
public final List<MetricResult> getMetricResults()
getMetricResults
in interface ResultsNode
public boolean containsClassResults()
containsClassResults
in interface ResultsNode
public MetricResult getMetricResult(Metric metric)
getMetricResult
in interface ResultsNode
public void addMetricResult(MetricResult metricResult)
public Map getChildren()
getChildren
in interface ResultsNode
Copyright © 2022. All rights reserved.