@CompileStatic abstract class AbstractWritableScript extends Script implements GrailsView, WritableScript
A script that is writable
| Modifiers | Name | Description |
|---|---|---|
protected static org.slf4j.Logger |
log |
A logger that can be used within views |
| Type | Name and description |
|---|---|
Map<String, Class> |
modelTypes |
Writer |
out |
File |
sourceFileThe source file |
| Constructor and description |
|---|
AbstractWritableScript() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract Writer |
doWrite(Writer writer)Subclasses should implement to perform the write |
|
Map<String, Class> |
getModelTypes() |
|
Writer |
getOut()
|
|
void |
setModelTypes(Map<String, Class> modelTypes) |
|
final Writer |
writeTo(Writer out) |
| Methods inherited from class | Name |
|---|---|
class Script |
equals, evaluate, evaluate, getBinding, getClass, getMetaClass, getProperty, hashCode, invokeMethod, notify, notifyAll, print, printf, printf, println, println, run, run, setBinding, setMetaClass, setProperty, toString, wait, wait, wait |