public class GenerateIdeaProject extends XmlGeneratorTask<Project>
At this moment nearly all configuration is done via IdeaProject
.
Task.Namer
afterConfigured, beforeConfigured, domainObject, generator
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
GenerateIdeaProject() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(Project xmlModule) |
Project |
create() |
IdeaProject |
getIdeaProject()
The Idea project model containing the details required to generate the project file.
|
File |
getOutputFile()
output *.ipr file
|
void |
setIdeaProject(IdeaProject ideaProject) |
void |
setOutputFile(File newOutputFile)
Sets the output file to write the final configuration to.
|
getXmlTransformer
getInputFile, getInputFileIfExists, getInstantiator, setInputFile
conventionMapping, conventionMapping, getConventionMapping
addValidator, 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, 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, toString
protected void configure(Project xmlModule)
configure
in class XmlGeneratorTask<Project>
public Project create()
create
in class XmlGeneratorTask<Project>
public File getOutputFile()
getOutputFile
in class GeneratorTask<Project>
public void setOutputFile(File newOutputFile)
GeneratorTask
setOutputFile
in class GeneratorTask<Project>
newOutputFile
- The output file.@Internal public IdeaProject getIdeaProject()
public void setIdeaProject(IdeaProject ideaProject)