Package org.codenarc.rule.grails
Class GrailsUtil
- java.lang.Object
-
- org.codenarc.rule.grails.GrailsUtil
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
public class GrailsUtil extends Object implements groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description protected static ObjectCONTROLLERS_AND_TAGLIB_FILESprotected static ObjectCONTROLLERS_CLASSESprotected static ObjectCONTROLLERS_FILESprotected static ObjectDOMAIN_FILESprotected static ObjectSERVICE_CLASSESprotected static ObjectSERVICE_FILES
-
Constructor Summary
Constructors Constructor Description GrailsUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description groovy.lang.MetaClassgetMetaClass()ObjectgetProperty(String property)ObjectinvokeMethod(String method, Object arguments)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)
-
-
-
Field Detail
-
SERVICE_FILES
protected static final Object SERVICE_FILES
-
DOMAIN_FILES
protected static final Object DOMAIN_FILES
-
CONTROLLERS_FILES
protected static final Object CONTROLLERS_FILES
-
CONTROLLERS_AND_TAGLIB_FILES
protected static final Object CONTROLLERS_AND_TAGLIB_FILES
-
CONTROLLERS_CLASSES
protected static final Object CONTROLLERS_CLASSES
-
SERVICE_CLASSES
protected static final Object SERVICE_CLASSES
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
-