public abstract class BaseGeneratorTasks extends Object implements Iterable<GeneratorTask>
| Modifier and Type | Field and Description |
|---|---|
protected Freemarker |
freemarker |
protected org.apache.commons.logging.Log |
log |
protected IntermediateModel |
model |
| Constructor and Description |
|---|
BaseGeneratorTasks(GeneratorTaskParams dependencies) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<GeneratorTask> |
createTasks() |
protected boolean |
hasTasks()
Hook to allow subclasses to indicate they have no tasks so they can assume when createTasks is called there's something to
emit.
|
protected void |
info(String message) |
Iterator<GeneratorTask> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected final IntermediateModel model
protected final Freemarker freemarker
protected final org.apache.commons.logging.Log log
public BaseGeneratorTasks(GeneratorTaskParams dependencies)
protected void info(String message)
protected boolean hasTasks()
protected abstract List<GeneratorTask> createTasks() throws Exception
Exceptionpublic Iterator<GeneratorTask> iterator()
iterator in interface Iterable<GeneratorTask>Copyright © 2019. All rights reserved.