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).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModule(org.gradle.internal.xml.XmlTransformer withXmlActions, PathFactory pathFactory) Deprecated. -
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.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.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.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.voidsetDependencies(Set<Dependency> dependencies) Deprecated.voidsetExcludeFolders(Set<Path> excludeFolders) Deprecated.voidsetGeneratedSourceFolders(Set<Path> generatedSourceFolders) Deprecated.voidsetInheritOutputDirs(boolean inheritOutputDirs) Deprecated.voidsetJdkName(String jdkName) Deprecated.voidsetOutputDir(Path outputDir) Deprecated.voidsetResourceFolders(Set<Path> resourceFolders) Deprecated.Sets the directories containing resources.voidsetSourceFolders(Set<Path> sourceFolders) Deprecated.voidsetTestOutputDir(Path testOutputDir) Deprecated.voidsetTestResourceFolders(Set<Path> testResourceFolders) Deprecated.Sets the directories containing test resources.voidsetTestSourceFolders(Set<Path> testSourceFolders) Deprecated.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.
-
-
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. -
setContentPath
Deprecated. -
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. -
setInheritOutputDirs
public void setInheritOutputDirs(boolean inheritOutputDirs) Deprecated. -
getOutputDir
Deprecated.The output directory for production classes. Ifnull, no entry will be created. -
setOutputDir
Deprecated. -
getTestOutputDir
Deprecated.The output directory for test classes. Ifnull, no entry will be created. -
setTestOutputDir
Deprecated. -
getDependencies
Deprecated.The dependencies of this module. Must not be null. -
setDependencies
Deprecated. -
getJdkName
Deprecated. -
setJdkName
Deprecated. -
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. -
load
Deprecated.- Overrides:
loadin classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
store
Deprecated.- Overrides:
storein classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
isDependencyOrderEntry
Deprecated. -
toString
-
equals
-
hashCode
-