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 StringCONTROLLERS_AND_TAGLIB_FILESprotected static StringCONTROLLERS_CLASSESprotected static StringCONTROLLERS_FILESprotected static StringDOMAIN_FILESprotected static StringSERVICE_CLASSESprotected static StringSERVICE_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 String SERVICE_FILES
- See Also:
- Constant Field Values
-
DOMAIN_FILES
protected static final String DOMAIN_FILES
- See Also:
- Constant Field Values
-
CONTROLLERS_FILES
protected static final String CONTROLLERS_FILES
- See Also:
- Constant Field Values
-
CONTROLLERS_AND_TAGLIB_FILES
protected static final String CONTROLLERS_AND_TAGLIB_FILES
- See Also:
- Constant Field Values
-
CONTROLLERS_CLASSES
protected static final String CONTROLLERS_CLASSES
- See Also:
- Constant Field Values
-
SERVICE_CLASSES
protected static final String SERVICE_CLASSES
- See Also:
- Constant Field Values
-
-
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
-
-