public abstract class BaseGeneratorTasks extends GeneratorTask
| Modifier and Type | Field and Description |
|---|---|
protected String |
baseDirectory |
protected org.slf4j.Logger |
log |
protected IntermediateModel |
model |
protected String |
testDirectory |
| Constructor and Description |
|---|
BaseGeneratorTasks(GeneratorTaskParams dependencies) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compute() |
protected GeneratorTask |
createPoetGeneratorTask(ClassSpec classSpec) |
protected GeneratorTask |
createPoetGeneratorTestTask(ClassSpec classSpec) |
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) |
exec, getRawResult, setRawResultadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkprotected final String baseDirectory
protected final String testDirectory
protected final IntermediateModel model
protected final org.slf4j.Logger log
public BaseGeneratorTasks(GeneratorTaskParams dependencies)
protected void info(String message)
protected boolean hasTasks()
protected final GeneratorTask createPoetGeneratorTask(ClassSpec classSpec) throws IOException
IOExceptionprotected final GeneratorTask createPoetGeneratorTestTask(ClassSpec classSpec) throws IOException
IOExceptionprotected abstract List<GeneratorTask> createTasks() throws Exception
Exceptionprotected void compute()
compute in class RecursiveActionCopyright © 2023. All rights reserved.