Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD

## org.gradle.plugins.idea.model
[Groovy] Class Module

    java.lang.Object
      org.gradle.api.internal.tasks.generator.XmlPersistableConfigurationObject
          org.gradle.plugins.idea.model.Module

    class Module
    extends XmlPersistableConfigurationObject

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

Authors:
  Hans Dockter

Property Summary
`static java.lang.String` | `INHERITED`
`Path` | `contentPath` The directory for the content root of the module.
`java.util.Set` | `dependencies` The dependencies of this module.
`java.util.Set` | `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.
`java.lang.String` | `javaVersion`
`Path` | `outputDir` The output directory for production classes.
`java.util.Set` | `sourceFolders` The directories containing the production sources.
`Path` | `testOutputDir` The output directory for test classes.
`java.util.Set` | `testSourceFolders` The directories containing the test sources.

Constructor Summary
`Module(XmlTransformer withXmlActions, PathFactory pathFactory)`

Method Summary
`void` | `configure(Path contentPath, java.util.Set sourceFolders, java.util.Set testSourceFolders, java.util.Set excludeFolders, java.lang.Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, java.util.Set dependencies, java.lang.String javaVersion)`
`boolean` | `equals(java.lang.Object o)`
`protected java.lang.String` | `getDefaultResourceName()`
`int` | `hashCode()`
`protected boolean` | `isDependencyOrderEntry(java.lang.Object orderEntry)`
`protected void` | `load(groovy.util.Node xml)`
`protected void` | `store(groovy.util.Node xml)`
`java.lang.String` | `toString()`

Property Detail

### INHERITED

    static final java.lang.String INHERITED

### contentPath

    Path contentPath

  The directory for the content root of the module. Defaults to the project dirctory. If null, the directory containing the output file will be used.

### dependencies

    java.util.Set dependencies

  The dependencies of this module. Must not be null.

### excludeFolders

    java.util.Set excludeFolders

  The directories to be excluded. Must not be null.

### inheritOutputDirs

    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.

### javaVersion

    java.lang.String javaVersion

### outputDir

    Path outputDir

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

### sourceFolders

    java.util.Set sourceFolders

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

### testOutputDir

    Path testOutputDir

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

### testSourceFolders

    java.util.Set testSourceFolders

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

Constructor Detail

### Module

    Module(XmlTransformer withXmlActions, PathFactory pathFactory)

Method Detail

### configure

    void configure(Path contentPath, java.util.Set sourceFolders, java.util.Set testSourceFolders, java.util.Set excludeFolders, java.lang.Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, java.util.Set dependencies, java.lang.String javaVersion)

### equals

    boolean equals(java.lang.Object o)

### getDefaultResourceName

    @Override
    protected java.lang.String getDefaultResourceName()

### hashCode

    int hashCode()

### isDependencyOrderEntry

    protected boolean isDependencyOrderEntry(java.lang.Object orderEntry)

### load

    @Override
    protected void load(groovy.util.Node xml)

### store

    @Override
    protected void store(groovy.util.Node xml)

### toString

    java.lang.String toString()

Groovy Documentation