public abstract class AbstractPackageCouplingMetric extends AbstractMetric
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.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() |
java.lang.String |
getIgnorePackageNames() |
groovy.lang.MetaClass |
getMetaClass() |
java.lang.Object |
getProperty(java.lang.String property) |
java.lang.Object |
invokeMethod(java.lang.String method,
java.lang.Object arguments) |
void |
setIgnorePackageNames(java.lang.String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(java.lang.String property,
java.lang.Object value) |
applyToClass, applyToPackage, calculateForPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctionsprotected static final java.lang.String REFERENCED_PACKAGES
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class AbstractMetricpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class AbstractMetricpublic java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class AbstractMetricpublic java.lang.Object getProperty(java.lang.String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class AbstractMetricpublic void setProperty(java.lang.String property,
java.lang.Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class AbstractMetricpublic final MetricLevel getBaseLevel()
public java.lang.String getIgnorePackageNames()
public void setIgnorePackageNames(java.lang.String value)
protected ClassMetricResult calculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
calculateForClass in class AbstractMetric