Package org.gmetrics.resultsnode
Class PackageResultsNode
java.lang.Object
org.gmetrics.resultsnode.PackageResultsNode
- All Implemented Interfaces:
groovy.lang.GroovyObject
,ResultsNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(String name, ResultsNode child) void
addChildIfNotEmpty
(String name, ResultsNode child) void
applyMetric
(Metric metric) boolean
final MetricLevel
getLevel()
groovy.lang.MetaClass
getMetricResult
(Metric metric) final List
<MetricResult> final String
getName()
final String
final String
getPath()
getProperty
(String property) invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) toString()
-
Constructor Details
-
PackageResultsNode
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getName
- Specified by:
getName
in interfaceResultsNode
-
getPackageName
-
getPath
-
getLevel
- Specified by:
getLevel
in interfaceResultsNode
-
getMetricResults
- Specified by:
getMetricResults
in interfaceResultsNode
-
getChildren
- Specified by:
getChildren
in interfaceResultsNode
-
containsClassResults
public boolean containsClassResults()- Specified by:
containsClassResults
in interfaceResultsNode
-
getMetricResult
- Specified by:
getMetricResult
in interfaceResultsNode
-
addChildIfNotEmpty
-
addChild
-
applyMetric
-
toString
-