Class Module
java.lang.Object
org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
org.gradle.plugins.ide.idea.model.Module
- All Implemented Interfaces:
org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject
@Deprecated
public class Module
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Deprecated.
Will be removed in Gradle 10.
Represents the customizable elements of an iml (via XML hooks everything of the iml is customizable).
- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModule(org.gradle.internal.xml.XmlTransformer withXmlActions, PathFactory pathFactory) Deprecated.Creates a newModule. -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectconfigure(Path contentPath, Set<Path> sourceFolders, Set<Path> testSourceFolders, Set<Path> resourceFolders, Set<Path> testResourceFolders, Set<Path> generatedSourceFolders, Set<Path> excludeFolders, Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, Set<Dependency> dependencies, String jdkName, String languageLevel) Deprecated.Configure.booleanDeprecated.Deprecated.The directory for the content root of the module.protected StringDeprecated.Deprecated.The dependencies of this module.Deprecated.The directories to be excluded.Deprecated.The directories containing generated the production sources.Deprecated.Returns the jdk name.Deprecated.The output directory for production classes.Deprecated.The directories containing resources.Deprecated.The directories containing the production sources.Deprecated.The output directory for test classes.Deprecated.The directories containing test resources.Deprecated.The directories containing the test sources.inthashCode()Deprecated.protected booleanisDependencyOrderEntry(Object orderEntry) Deprecated.Returns whether dependency order entry is set.booleanDeprecated.If true, output directories for this module will be located below the output directory for the project; otherwise,outputDirandtestOutputDirwill take effect.protected voidDeprecated.voidsetContentPath(Path contentPath) Deprecated.Sets the content path.voidsetDependencies(Set<Dependency> dependencies) Deprecated.Sets the dependencies.voidsetExcludeFolders(Set<Path> excludeFolders) Deprecated.Sets the exclude folders.voidsetGeneratedSourceFolders(Set<Path> generatedSourceFolders) Deprecated.Sets the generated source folders.voidsetInheritOutputDirs(boolean inheritOutputDirs) Deprecated.Sets the inherit output dirs.voidsetJdkName(String jdkName) Deprecated.Sets the jdk name.voidsetOutputDir(Path outputDir) Deprecated.Sets the output dir.voidsetResourceFolders(Set<Path> resourceFolders) Deprecated.Sets the directories containing resources.voidsetSourceFolders(Set<Path> sourceFolders) Deprecated.Sets the source folders.voidsetTestOutputDir(Path testOutputDir) Deprecated.Sets the test output dir.voidsetTestResourceFolders(Set<Path> testResourceFolders) Deprecated.Sets the directories containing test resources.voidsetTestSourceFolders(Set<Path> testSourceFolders) Deprecated.Sets the test source folders.protected voidDeprecated.toString()Deprecated.Methods inherited from class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformActionMethods inherited from class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
load, loadDefaults, store
-
Field Details
-
INHERITED
-
-
Constructor Details
-
Module
Deprecated.Creates a newModule.- Since:
- 1.0
-
-
Method Details
-
getContentPath
Deprecated.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.- Since:
- 1.0
-
setContentPath
-
getSourceFolders
-
setSourceFolders
-
getTestSourceFolders
-
setTestSourceFolders
-
getResourceFolders
-
setResourceFolders
-
getTestResourceFolders
-
setTestResourceFolders
-
getGeneratedSourceFolders
-
setGeneratedSourceFolders
-
getExcludeFolders
-
setExcludeFolders
-
isInheritOutputDirs
public boolean isInheritOutputDirs()Deprecated.If true, output directories for this module will be located below the output directory for the project; otherwise,outputDirandtestOutputDirwill take effect.- Since:
- 1.0
-
setInheritOutputDirs
public void setInheritOutputDirs(boolean inheritOutputDirs) Deprecated.Sets the inherit output dirs.- Since:
- 1.0
-
getOutputDir
Deprecated.The output directory for production classes. Ifnull, no entry will be created.- Since:
- 1.0
-
setOutputDir
-
getTestOutputDir
Deprecated.The output directory for test classes. Ifnull, no entry will be created.- Since:
- 1.0
-
setTestOutputDir
-
getDependencies
Deprecated.The dependencies of this module. Must not be null.- Since:
- 1.0
-
setDependencies
Deprecated.Sets the dependencies.- Since:
- 1.0
-
getJdkName
-
setJdkName
-
getDefaultResourceName
Deprecated.- Specified by:
getDefaultResourceNamein classorg.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
-
configure
protected Object configure(Path contentPath, Set<Path> sourceFolders, Set<Path> testSourceFolders, Set<Path> resourceFolders, Set<Path> testResourceFolders, Set<Path> generatedSourceFolders, Set<Path> excludeFolders, Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, Set<Dependency> dependencies, String jdkName, String languageLevel) Deprecated.Configure.- Since:
- 4.7
-
load
Deprecated.- Overrides:
loadin classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
store
Deprecated.- Overrides:
storein classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
isDependencyOrderEntry
Deprecated.Returns whether dependency order entry is set.- Since:
- 1.0
-
toString
-
equals
-
hashCode
-