T - The domain object for the configuration file.public 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 and Description | 
|---|---|
| protected org.gradle.listener.ActionBroadcast<T> | afterConfigured | 
| protected org.gradle.listener.ActionBroadcast<T> | beforeConfigured | 
| protected T | domainObject | 
| protected org.gradle.plugins.ide.internal.generator.generator.Generator<T> | generator | 
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description | 
|---|
| GeneratorTask() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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, getConventionMappingaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringprotected final org.gradle.listener.ActionBroadcast<T> beforeConfigured
protected final org.gradle.listener.ActionBroadcast<T> afterConfigured
protected org.gradle.plugins.ide.internal.generator.generator.Generator<T> generator
protected T domainObject
@Inject protected org.gradle.internal.reflect.Instantiator getInstantiator()
@Internal(value="Covered by inputFileIfExists") public File getInputFile()
@Optional @InputFile protected File getInputFileIfExists()
public void setInputFile(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.