Groovy Documentation

groovy.org.codenarc.rule.naming
[Groovy] Class AbstractClassNameRule

java.lang.Object
  org.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.

Authors:
Chris Mair
See Also:
ClassNameRule
InterfaceNameRule


Property Summary
Class astVisitorClass

String name

int priority

String regex

 
Method Summary
boolean isReady()

 

Property Detail

astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


regex

String regex


 
Method Detail

isReady

boolean isReady()


 

Groovy Documentation