A generic compiler for Groovy templates that are compiled into classes in production
Type | Name and description |
---|---|
org.codehaus.groovy.control.CompilerConfiguration |
configuration |
java.lang.String |
packageName |
java.io.File |
sourceDir |
ViewConfiguration |
viewConfiguration |
Constructor and description |
---|
AbstractGroovyTemplateCompiler
(ViewConfiguration configuration, java.io.File sourceDir) |
AbstractGroovyTemplateCompiler
() |
Type | Name and description |
---|---|
void |
compile(java.lang.Iterable<java.io.File> sources) |
void |
compile(java.io.File... sources) |
protected org.codehaus.groovy.control.CompilerConfiguration |
configureCompiler() |
protected ViewsTransform |
newViewsTransform() |
static void |
run(java.lang.String[] args, java.lang.Class<? extends GenericViewConfiguration> configurationClass, java.lang.Class<? extends AbstractGroovyTemplateCompiler> compilerClass) |
Methods inherited from class | Name |
---|---|
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() |
Groovy Documentation