T - The domain object for the configuration file.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, org.gradle.util.Configurable<Task>GenerateSolutionFileTask, PropertiesGeneratorTask, PropertyListGeneratorTask, XmlGeneratorTaskpublic class GeneratorTask<T>
extends org.gradle.api.internal.ConventionTask
A GeneratorTask generates a configuration file based on a domain object of type T.
 When executed the task:
 
Task.Namer| Modifier and Type | Field | Description | 
|---|---|---|
| protected org.gradle.internal.MutableActionSet<T> | afterConfigured | |
| protected org.gradle.internal.MutableActionSet<T> | beforeConfigured | |
| protected T | domainObject | |
| protected org.gradle.plugins.ide.internal.generator.generator.Generator<T> | generator | 
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor | Description | 
|---|---|
| GeneratorTask() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| protected boolean | getIncremental() | Whether this generator task can be treated as an incremental task or not | 
| File | getInputFile() | The input file to load the initial configuration from. | 
| protected File | getInputFileIfExists() | |
| protected org.gradle.internal.reflect.Instantiator | getInstantiator() | |
| File | getOutputFile() | The output file to write the final configuration to. | 
| void | setInputFile(File inputFile) | Sets the input file to load the initial configuration from. | 
| void | setOutputFile(File outputFile) | Sets the output file to write the final configuration to. | 
conventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringprotected final org.gradle.internal.MutableActionSet<T> beforeConfigured
protected final org.gradle.internal.MutableActionSet<T> afterConfigured
protected org.gradle.plugins.ide.internal.generator.generator.Generator<T> generator
protected T domainObject
@Internal @Incubating protected boolean getIncremental()
@Inject protected org.gradle.internal.reflect.Instantiator getInstantiator()
@Internal("Covered by inputFileIfExists") public File getInputFile()
@Nullable @Optional @PathSensitive(NONE) @InputFile protected File getInputFileIfExists()
public void setInputFile(@Nullable
                         File inputFile)
inputFile - The input file. Use null to use the output file.@OutputFile public File getOutputFile()
public void setOutputFile(File outputFile)
outputFile - The output file.