|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.plugins.ide.api.GeneratorTask<T>
T - The domain object for the configuration file.public class GeneratorTask<T>
A GeneratorTask generates a configuration file based on a domain object of type T.
When executed the task:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.gradle.api.Task |
|---|
Task.Namer |
| Field Summary | |
|---|---|
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
|
| Fields inherited from interface org.gradle.api.Task |
|---|
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE |
| Constructor Summary | |
|---|---|
GeneratorTask()
|
|
| Method Summary | |
|---|---|
File |
getInputFile()
The input file to load the initial configuration from. |
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. |
| Methods inherited from class org.gradle.api.internal.ConventionTask |
|---|
conventionMapping, conventionMapping, getConventionMapping |
| Methods inherited from class org.gradle.api.internal.AbstractTask |
|---|
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getStateInternal, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected 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
| Constructor Detail |
|---|
public GeneratorTask()
| Method Detail |
|---|
public File getInputFile()
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||