Groovy Documentation

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

java.lang.Object
  org.codenarc.rule.AbstractAstVisitorRule
      groovy.org.codenarc.rule.naming.InterfaceNameRule

class InterfaceNameRule
extends AbstractAstVisitorRule

Rule that verifies that the name of an interface 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.

Authors:
Chris Mair
See Also:
ClassNameRule


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