public abstract class AbstractPackageCouplingMetric extends AbstractMetric implements groovy.lang.GroovyObject
Modifier and Type | Field and Description |
---|---|
protected static String |
REFERENCED_PACKAGES |
Constructor and Description |
---|
AbstractPackageCouplingMetric() |
Modifier and Type | Method and Description |
---|---|
protected ClassMetricResult |
calculateForClass(org.codehaus.groovy.ast.ClassNode classNode,
SourceCode sourceCode) |
MetricLevel |
getBaseLevel() |
String |
getIgnorePackageNames() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setIgnorePackageNames(String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
applyToClass, applyToPackage, calculateForPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctions
protected static final String REFERENCED_PACKAGES
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class AbstractMetric
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class AbstractMetric
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class AbstractMetric
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class AbstractMetric
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class AbstractMetric
public final MetricLevel getBaseLevel()
getBaseLevel
in interface Metric
public String getIgnorePackageNames()
public void setIgnorePackageNames(String value)
protected ClassMetricResult calculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
calculateForClass
in class AbstractMetric
Copyright © 2022. All rights reserved.