Package: org.gradle.plugins.ide.idea.model

## [Groovy] Class Module

- org.gradle.plugins.ide.idea.model.Module

- Represents the customizable elements of an iml (via XML hooks everything of the iml is customizable).

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `static String` | `INHERITED`
    `Path` | `contentPath` The directory for the content root of the module.
    `Set<Dependency>` | `dependencies` The dependencies of this module.
    `Set<Path>` | `excludeFolders` The directories to be excluded.
    `boolean` | `inheritOutputDirs` If true, output directories for this module will be located below the output directory for the project; otherwise, outputDir and testOutputDir will take effect.
    `String` | `jdkName`
    `Path` | `outputDir` The output directory for production classes.
    `Set<Path>` | `sourceFolders` The directories containing the production sources.
    `Path` | `testOutputDir` The output directory for test classes.
    `Set<Path>` | `testSourceFolders` The directories containing the test sources.

  - ### Constructor Summary

    Constructors
    Constructor and description
    `Module (XmlTransformer withXmlActions, PathFactory pathFactory)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `protected def` | `configure(Path contentPath, Set sourceFolders, Set testSourceFolders, Set excludeFolders, Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, Set dependencies, String jdkName)`
    `boolean` | `equals(def o)`
    `protected String` | `getDefaultResourceName()`
    `int` | `hashCode()`
    `protected boolean` | `isDependencyOrderEntry(def orderEntry)`
    `protected void` | `load(Node xml)`
    `protected void` | `store(Node xml)`
    `String` | `toString()`

- - ### Property Detail

    - #### static final String INHERITED

    - #### Path contentPath

      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.

    - #### Set<Dependency> dependencies

      The dependencies of this module. Must not be null.

    - #### Set<Path> excludeFolders

      The directories to be excluded. Must not be null.

    - #### boolean inheritOutputDirs

      If true, output directories for this module will be located below the output directory for the project; otherwise, outputDir and testOutputDir will take effect.

    - #### String jdkName

    - #### Path outputDir

      The output directory for production classes. If `null`, no entry will be created.

    - #### Set<Path> sourceFolders

      The directories containing the production sources. Must not be null.

    - #### Path testOutputDir

      The output directory for test classes. If `null`, no entry will be created.

    - #### Set<Path> testSourceFolders

      The directories containing the test sources. Must not be null.

  - ### Constructor Detail

    - #### Module(XmlTransformer withXmlActions, PathFactory pathFactory)

  - ### Method Detail

    - #### protected def configure(Path contentPath, Set sourceFolders, Set testSourceFolders, Set excludeFolders, Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, Set dependencies, String jdkName)

    - #### boolean equals(def o)

    - #### @Override protected String getDefaultResourceName()

    - #### int hashCode()

    - #### protected boolean isDependencyOrderEntry(def orderEntry)

    - #### @Override protected void load(Node xml)

    - #### @Override protected void store(Node xml)

    - #### String toString()