public class PackageResultsNode extends Object implements ResultsNode, groovy.lang.GroovyObject
| Constructor and Description |
|---|
PackageResultsNode(String name,
String packageName,
String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(String name,
ResultsNode child) |
void |
addChildIfNotEmpty(String name,
ResultsNode child) |
void |
applyMetric(Metric metric) |
boolean |
containsClassResults() |
Map<String,ResultsNode> |
getChildren() |
MetricLevel |
getLevel() |
groovy.lang.MetaClass |
getMetaClass() |
MetricResult |
getMetricResult(Metric metric) |
List<MetricResult> |
getMetricResults() |
String |
getName() |
String |
getPackageName() |
String |
getPath() |
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 groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic String getName()
getName in interface ResultsNodepublic String getPackageName()
public String getPath()
public MetricLevel getLevel()
getLevel in interface ResultsNodepublic List<MetricResult> getMetricResults()
getMetricResults in interface ResultsNodepublic Map<String,ResultsNode> getChildren()
getChildren in interface ResultsNodepublic boolean containsClassResults()
containsClassResults in interface ResultsNodepublic MetricResult getMetricResult(Metric metric)
getMetricResult in interface ResultsNodepublic void addChildIfNotEmpty(String name, ResultsNode child)
public void addChild(String name, ResultsNode child)
public void applyMetric(Metric metric)
Copyright © 2015. All rights reserved.