Groovy Documentation

org.grails.plugin.platform.conventions
[Groovy] Class ConventionsImpl

java.lang.Object
  org.grails.plugin.platform.conventions.ConventionsImpl
All Implemented Interfaces:
Conventions

class ConventionsImpl

Bean that encapsulates the convention evaluation and overrides


Property Summary
java.lang.Object grailsApplication

java.lang.Object log

 
Constructor Summary
ConventionsImpl()

 
Method Summary
java.util.List discoverCodeBlockConventions(java.lang.Class actualClass, java.lang.Class annotation, boolean allowArgs = true)

Discover what convention code blocks the target class defines, used to identify pieces of code that must be called as a result of some convention-based stimulus - for example controller actions.

org.codehaus.groovy.grails.commons.GrailsClass findArtefactBySimpleClassName(java.lang.String classNameNoPackage, java.lang.String artefactType)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

grailsApplication

java.lang.Object grailsApplication


log

final java.lang.Object log


 
Constructor Detail

ConventionsImpl

ConventionsImpl()


 
Method Detail

discoverCodeBlockConventions

java.util.List discoverCodeBlockConventions(java.lang.Class actualClass, java.lang.Class annotation, boolean allowArgs = true)
Discover what convention code blocks the target class defines, used to identify pieces of code that must be called as a result of some convention-based stimulus - for example controller actions. Supports the following representations: - public (or public + final) instance property of type Closure - public (or public + final) instance method with "def" return type and an optional argument list


findArtefactBySimpleClassName

org.codehaus.groovy.grails.commons.GrailsClass findArtefactBySimpleClassName(java.lang.String classNameNoPackage, java.lang.String artefactType)


 

Groovy Documentation