Klasse 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
- Alle implementierten Schnittstellen:
org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject
public class Module
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Represents the customizable elements of an iml (via XML hooks everything of the iml is customizable).
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungModule(org.gradle.internal.xml.XmlTransformer withXmlActions, PathFactory pathFactory) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected 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) booleanThe directory for the content root of the module.protected StringThe dependencies of this module.The directories to be excluded.The directories containing generated the production sources.The output directory for production classes.The directories containing resources.The directories containing the production sources.The output directory for test classes.The directories containing test resources.The directories containing the test sources.inthashCode()protected booleanisDependencyOrderEntry(Object orderEntry) booleanIf true, output directories for this module will be located below the output directory for the project; otherwise,outputDirandtestOutputDirwill take effect.protected voidvoidsetContentPath(Path contentPath) voidsetDependencies(Set<Dependency> dependencies) voidsetExcludeFolders(Set<Path> excludeFolders) voidsetGeneratedSourceFolders(Set<Path> generatedSourceFolders) voidsetInheritOutputDirs(boolean inheritOutputDirs) voidsetJdkName(String jdkName) voidsetOutputDir(Path outputDir) voidsetResourceFolders(Set<Path> resourceFolders) Sets the directories containing resources.voidsetSourceFolders(Set<Path> sourceFolders) voidsetTestOutputDir(Path testOutputDir) voidsetTestResourceFolders(Set<Path> testResourceFolders) Sets the directories containing test resources.voidsetTestSourceFolders(Set<Path> testSourceFolders) protected voidtoString()Von Klasse geerbte Methoden org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformActionVon Klasse geerbte Methoden org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
load, loadDefaults, store
-
Felddetails
-
INHERITED
- Siehe auch:
-
-
Konstruktordetails
-
Module
-
-
Methodendetails
-
getContentPath
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
-
getSourceFolders
The directories containing the production sources. Must not be null. -
setSourceFolders
-
getTestSourceFolders
The directories containing the test sources. Must not be null. -
setTestSourceFolders
-
getResourceFolders
The directories containing resources. Must not be null.- Seit:
- 4.7
-
setResourceFolders
Sets the directories containing resources.- Seit:
- 4.7
-
getTestResourceFolders
The directories containing test resources. Must not be null.- Seit:
- 4.7
-
setTestResourceFolders
Sets the directories containing test resources.- Seit:
- 4.7
-
getGeneratedSourceFolders
The directories containing generated the production sources. Must not be null. -
setGeneratedSourceFolders
-
getExcludeFolders
The directories to be excluded. Must not be null. -
setExcludeFolders
-
isInheritOutputDirs
public boolean isInheritOutputDirs()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) -
getOutputDir
The output directory for production classes. Ifnull, no entry will be created. -
setOutputDir
-
getTestOutputDir
The output directory for test classes. Ifnull, no entry will be created. -
setTestOutputDir
-
getDependencies
The dependencies of this module. Must not be null. -
setDependencies
-
getJdkName
-
setJdkName
-
getDefaultResourceName
- Angegeben von:
getDefaultResourceNamein Klasseorg.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) -
load
- Setzt außer Kraft:
loadin Klasseorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
store
- Setzt außer Kraft:
storein Klasseorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
isDependencyOrderEntry
-
toString
-
equals
-
hashCode
public int hashCode()
-