Represents the customizable elements of an iml (via XML hooks everything of the iml is customizable).
Constructor and description |
---|
Module
(org.gradle.internal.xml.XmlTransformer withXmlActions, PathFactory pathFactory) |
Type | Name and description |
---|---|
protected Object |
configure(Path contentPath, Set<Path> sourceFolders, Set<Path> testSourceFolders, Set<Path> generatedSourceFolders, Set<Path> excludeFolders, Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, Set<Dependency> dependencies, String jdkName, String languageLevel) |
boolean |
equals(Object o) |
Path |
getContentPath() The directory for the content root of the module. |
protected String |
getDefaultResourceName() |
Set<Dependency> |
getDependencies() The dependencies of this module. |
Set<Path> |
getExcludeFolders() The directories to be excluded. |
Set<Path> |
getGeneratedSourceFolders() The directories containing generated the production sources. |
static String |
getINHERITED() |
boolean |
getInheritOutputDirs() |
String |
getJdkName() |
Path |
getOutputDir() The output directory for production classes. |
Set<Path> |
getSourceFolders() The directories containing the production sources. |
Path |
getTestOutputDir() The output directory for test classes. |
Set<Path> |
getTestSourceFolders() The directories containing the test sources. |
int |
hashCode() |
protected boolean |
isDependencyOrderEntry(Object orderEntry) |
boolean |
isInheritOutputDirs() If true, output directories for this module will be located below the output directory for the project; otherwise, outputDir and testOutputDir will take effect. |
protected void |
load(groovy.util.Node xml) |
void |
setContentPath(Path contentPath) |
void |
setDependencies(Set<Dependency> dependencies) |
void |
setExcludeFolders(Set<Path> excludeFolders) |
void |
setGeneratedSourceFolders(Set<Path> generatedSourceFolders) |
void |
setInheritOutputDirs(boolean inheritOutputDirs) |
void |
setJdkName(String jdkName) |
void |
setOutputDir(Path outputDir) |
void |
setSourceFolders(Set<Path> sourceFolders) |
void |
setTestOutputDir(Path testOutputDir) |
void |
setTestSourceFolders(Set<Path> testSourceFolders) |
protected void |
store(groovy.util.Node xml) |
String |
toString() |
Methods inherited from class | Name |
---|---|
class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject |
org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#getXml(), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#transformAction(groovy.lang.Closure), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#findFirstChildNamed(groovy.util.Node, java.lang.String), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#findFirstChildWithAttributeValue(groovy.util.Node, java.lang.String, java.lang.String, java.lang.String), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#findOrCreateFirstChildNamed(groovy.util.Node, java.lang.String), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#findOrCreateFirstChildWithAttributeValue(groovy.util.Node, java.lang.String, java.lang.String, java.lang.String), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#load(java.io.InputStream), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#store(java.io.OutputStream), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#loadDefaults(), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#load(java.io.File), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#store(java.io.File), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#wait(long, int), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#wait(long), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#wait(), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#equals(java.lang.Object), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#toString(), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#hashCode(), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#getClass(), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#notify(), org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject#notifyAll() |
class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject |
org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#loadDefaults(), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#load(java.io.InputStream), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#load(java.io.File), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#store(java.io.File), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#store(java.io.OutputStream), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#wait(long, int), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#wait(long), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#wait(), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#equals(java.lang.Object), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#toString(), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#hashCode(), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#getClass(), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#notify(), org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject#notifyAll() |
The directory for the content root of the module. Defaults to the project directory. If null, the directory containing the output file will be used.
The dependencies of this module. Must not be null.
The directories containing generated the production sources. Must not be null.
The output directory for production classes.
If null
, no entry will be created.
The directories containing the production sources. Must not be null.
The output directory for test classes.
If null
, no entry will be created.
The directories containing the test sources. Must not be null.
If true, output directories for this module will be located below the output directory for the project; otherwise, outputDir and testOutputDir will take effect.
Gradle API 3.0-milestone-2