org.grails.plugin.platform.conventions
[Groovy] Class StandardDSLBuilder
java.lang.Object
org.grails.plugin.platform.conventions.StandardDSLBuilder
class StandardDSLBuilder
Builder that evaluates a DSL Closure and produces a structure representing the
method calls and property access, with child nodes for methods taking a closure
Just instantiate this and call build() with the DSL closure.
Iteratate over the List you get back, checking the type of nodes
to see what calls were made.
NOTE: DSLCommand is polymorphic so if using in if/switch statements be careful
of ordering - put more specific types FIRST to avoid surprises
Property Summary |
java.lang.Object |
log
|
Method Summary |
java.util.List
|
build(groovy.lang.Closure c, java.lang.Object args = null)
|
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() |
log
final java.lang.Object log
-
StandardDSLBuilder
StandardDSLBuilder()
-
build
java.util.List build(groovy.lang.Closure c, java.lang.Object args = null)
-
Groovy Documentation