@groovy.transform.CompileStatic abstract class AbstractGroovyTemplateCompiler extends java.lang.Object
A generic compiler for Groovy templates that are compiled into classes in production
Modifiers | Name | Description |
---|---|---|
private org.codehaus.groovy.control.CompilerConfiguration |
configuration |
|
private java.lang.String |
packageName |
|
private java.io.File |
sourceDir |
|
private ViewConfiguration |
viewConfiguration |
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 Params | Return Type | Name and description |
---|---|---|
|
void |
compile(java.util.List<java.io.File> sources) |
|
void |
compile(java.io.File[] sources) |
|
protected org.codehaus.groovy.control.CompilerConfiguration |
configureCompiler(org.codehaus.groovy.control.CompilerConfiguration configuration) |
|
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), java.lang.Object#wait(long, int), 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