public abstract class GenerateCodeTask extends DefaultTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
GenerateCodeTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate() |
abstract ConfigurableFileCollection |
getCodeGeneratorClasspath() |
abstract MapProperty<String,Object> |
getConfigurationValues() |
abstract DirectoryProperty |
getInputDir() |
abstract DirectoryProperty |
getOutputDir() |
protected abstract ProjectLayout |
getProjectLayout() |
abstract Property<String> |
getSourceSet() |
protected abstract WorkerExecutor |
getWorkerExecutor() |
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCache@Inject protected abstract ProjectLayout getProjectLayout()
@Inject protected abstract WorkerExecutor getWorkerExecutor()
@InputDirectory @Optional public abstract DirectoryProperty getInputDir()
@OutputDirectory public abstract DirectoryProperty getOutputDir()
@Input @Optional public abstract MapProperty<String,Object> getConfigurationValues()
@InputFiles @Classpath public abstract ConfigurableFileCollection getCodeGeneratorClasspath()
public void generate()