public class ClassResultsNode extends Object implements ResultsNode, groovy.lang.GroovyObject
Constructor and Description |
---|
ClassResultsNode(String name) |
ClassResultsNode(String name,
String fileName,
String filePath) |
Modifier and Type | Method and Description |
---|---|
void |
addClassMetricResult(ClassMetricResult classMetricResult) |
boolean |
containsClassResults() |
Map<String,ResultsNode> |
getChildren() |
String |
getFileName() |
String |
getFilePath() |
MetricLevel |
getLevel() |
groovy.lang.MetaClass |
getMetaClass() |
MetricResult |
getMetricResult(Metric metric) |
List<MetricResult> |
getMetricResults() |
String |
getName() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
String |
toString() |
public ClassResultsNode(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 getFileName()
public final String getFilePath()
public final MetricLevel getLevel()
getLevel
in interface ResultsNode
public final Map<String,ResultsNode> getChildren()
getChildren
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 addClassMetricResult(ClassMetricResult classMetricResult)
Copyright © 2022. All rights reserved.