|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.rule.AbstractAstVisitorRule
groovy.org.codenarc.rule.naming.AbstractClassNameRule
class AbstractClassNameRule extends AbstractAstVisitorRule
Rule that verifies that the name of an abstract class matches a regular expression specified in
the regex
property. If that property is null or empty, then this rule is not applied
(i.e., it does nothing). It defaults to null, so this rule must be explicitly configured to be active.
This rule ignores interfaces.
Property Summary | |
---|---|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
String |
regex
|
Method Summary | |
---|---|
boolean
|
isReady()
|
Property Detail |
---|
Class astVisitorClass
String name
int priority
String regex
Method Detail |
---|
boolean isReady()
Groovy Documentation