Class TopLevelDelegate

java.lang.Object
org.codenarc.ruleset.TopLevelDelegate
All Implemented Interfaces:
groovy.lang.GroovyObject

public class TopLevelDelegate extends Object implements groovy.lang.GroovyObject
  • Constructor Details

    • TopLevelDelegate

      public TopLevelDelegate()
  • Method Details

    • getMetaClass

      public groovy.lang.MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface groovy.lang.GroovyObject
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
    • ruleset

      public void ruleset(String path)
    • ruleset

      public void ruleset(String path, groovy.lang.Closure closure)
    • rule

      public void rule(Class ruleClass)
    • rule

      public void rule(Class ruleClass, Map properties)
    • rule

      public void rule(Class ruleClass, groovy.lang.Closure closure)
    • rule

      public void rule(String path)
    • rule

      public void rule(String path, groovy.lang.Closure closure)
    • propertyMissing

      public Object propertyMissing(String name)
    • methodMissing

      public Object methodMissing(String name, Object args)
    • description

      public void description(String description)
    • getRuleSet

      protected RuleSet getRuleSet()