org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject
public class Module
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
INHERITED |
Constructor | Description |
---|---|
Module(org.gradle.internal.xml.XmlTransformer withXmlActions,
PathFactory pathFactory) |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.Object |
configure(Path contentPath,
java.util.Set<Path> sourceFolders,
java.util.Set<Path> testSourceFolders,
java.util.Set<Path> resourceFolders,
java.util.Set<Path> testResourceFolders,
java.util.Set<Path> generatedSourceFolders,
java.util.Set<Path> excludeFolders,
java.lang.Boolean inheritOutputDirs,
Path outputDir,
Path testOutputDir,
java.util.Set<Dependency> dependencies,
java.lang.String jdkName,
java.lang.String languageLevel) |
|
boolean |
equals(java.lang.Object o) |
|
Path |
getContentPath() |
The directory for the content root of the module.
|
protected java.lang.String |
getDefaultResourceName() |
|
java.util.Set<Dependency> |
getDependencies() |
The dependencies of this module.
|
java.util.Set<Path> |
getExcludeFolders() |
The directories to be excluded.
|
java.util.Set<Path> |
getGeneratedSourceFolders() |
The directories containing generated the production sources.
|
java.lang.String |
getJdkName() |
|
Path |
getOutputDir() |
The output directory for production classes.
|
java.util.Set<Path> |
getResourceFolders() |
The directories containing resources.
|
java.util.Set<Path> |
getSourceFolders() |
The directories containing the production sources.
|
Path |
getTestOutputDir() |
The output directory for test classes.
|
java.util.Set<Path> |
getTestResourceFolders() |
The directories containing test resources.
|
java.util.Set<Path> |
getTestSourceFolders() |
The directories containing the test sources.
|
int |
hashCode() |
|
protected boolean |
isDependencyOrderEntry(java.lang.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(Node xml) |
|
void |
setContentPath(Path contentPath) |
|
void |
setDependencies(java.util.Set<Dependency> dependencies) |
|
void |
setExcludeFolders(java.util.Set<Path> excludeFolders) |
|
void |
setGeneratedSourceFolders(java.util.Set<Path> generatedSourceFolders) |
|
void |
setInheritOutputDirs(boolean inheritOutputDirs) |
|
void |
setJdkName(java.lang.String jdkName) |
|
void |
setOutputDir(Path outputDir) |
|
void |
setResourceFolders(java.util.Set<Path> resourceFolders) |
Sets the directories containing resources.
|
void |
setSourceFolders(java.util.Set<Path> sourceFolders) |
|
void |
setTestOutputDir(Path testOutputDir) |
|
void |
setTestResourceFolders(java.util.Set<Path> testResourceFolders) |
Sets the directories containing test resources.
|
void |
setTestSourceFolders(java.util.Set<Path> testSourceFolders) |
|
protected void |
store(Node xml) |
|
java.lang.String |
toString() |
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformAction
public static final java.lang.String INHERITED
public Module(org.gradle.internal.xml.XmlTransformer withXmlActions, PathFactory pathFactory)
public Path getContentPath()
public void setContentPath(Path contentPath)
public java.util.Set<Path> getSourceFolders()
public void setSourceFolders(java.util.Set<Path> sourceFolders)
public java.util.Set<Path> getTestSourceFolders()
public void setTestSourceFolders(java.util.Set<Path> testSourceFolders)
public java.util.Set<Path> getResourceFolders()
public void setResourceFolders(java.util.Set<Path> resourceFolders)
public java.util.Set<Path> getTestResourceFolders()
public void setTestResourceFolders(java.util.Set<Path> testResourceFolders)
public java.util.Set<Path> getGeneratedSourceFolders()
public void setGeneratedSourceFolders(java.util.Set<Path> generatedSourceFolders)
public java.util.Set<Path> getExcludeFolders()
public void setExcludeFolders(java.util.Set<Path> excludeFolders)
public boolean isInheritOutputDirs()
outputDir
and testOutputDir
will take effect.public void setInheritOutputDirs(boolean inheritOutputDirs)
public Path getOutputDir()
null
, no entry will be created.public void setOutputDir(Path outputDir)
public Path getTestOutputDir()
null
, no entry will be created.public void setTestOutputDir(Path testOutputDir)
public java.util.Set<Dependency> getDependencies()
public void setDependencies(java.util.Set<Dependency> dependencies)
public java.lang.String getJdkName()
public void setJdkName(java.lang.String jdkName)
protected java.lang.String getDefaultResourceName()
getDefaultResourceName
in class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
protected java.lang.Object configure(Path contentPath, java.util.Set<Path> sourceFolders, java.util.Set<Path> testSourceFolders, java.util.Set<Path> resourceFolders, java.util.Set<Path> testResourceFolders, java.util.Set<Path> generatedSourceFolders, java.util.Set<Path> excludeFolders, java.lang.Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, java.util.Set<Dependency> dependencies, java.lang.String jdkName, java.lang.String languageLevel)
protected void load(Node xml)
load
in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
protected void store(Node xml)
store
in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
protected boolean isDependencyOrderEntry(java.lang.Object orderEntry)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object