Groovy Documentation

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

java.lang.Object
  org.gradle.plugins.idea.model.Module

class Module

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 dir for the content root of the module.

java.util.Set dependencies

The dependencies of this module.

java.util.Set excludeFolders

Folders to be excluded.

java.lang.String javaVersion

Path outputDir

The dir for the production source classes.

java.util.Set sourceFolders

The foldes for the production code.

Path testOutputDir

The dir for the compiled test source classes.

java.util.Set testSourceFolders

The folders for the test code.

 
Constructor Summary
Module(Path contentPath, java.util.Set sourceFolders, java.util.Set testSourceFolders, java.util.Set excludeFolders, Path outputDir, Path testOutputDir, java.util.Set dependencies, VariableReplacement dependencyVariableReplacement, java.lang.String javaVersion, java.io.Reader inputXml, ListenerBroadcast beforeConfiguredActions, ListenerBroadcast whenConfiguredActions, ListenerBroadcast withXmlActions)

 
Method Summary
boolean equals(java.lang.Object o)

int hashCode()

protected boolean isDependencyOrderEntry(java.lang.Object orderEntry)

java.lang.String toString()

java.lang.Object toXml(java.io.Writer writer)

Generates the XML for the iml.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

INHERITED

static final java.lang.String INHERITED


contentPath

Path contentPath
The dir for the content root of the module. Defaults to the projectDir for the project. If null, the directory that contains the output file will be used.


dependencies

java.util.Set dependencies
The dependencies of this module. Must not be null. Has instances of type Dependency .


excludeFolders

java.util.Set excludeFolders
Folders to be excluded. Must not be null.


javaVersion

java.lang.String javaVersion


outputDir

Path outputDir
The dir for the production source classes. If null this output dir element is not added.


sourceFolders

java.util.Set sourceFolders
The foldes for the production code. Must not be null.


testOutputDir

Path testOutputDir
The dir for the compiled test source classes. If null this output element is not added.


testSourceFolders

java.util.Set testSourceFolders
The folders for the test code. Must not be null.


 
Constructor Detail

Module

Module(Path contentPath, java.util.Set sourceFolders, java.util.Set testSourceFolders, java.util.Set excludeFolders, Path outputDir, Path testOutputDir, java.util.Set dependencies, VariableReplacement dependencyVariableReplacement, java.lang.String javaVersion, java.io.Reader inputXml, ListenerBroadcast beforeConfiguredActions, ListenerBroadcast whenConfiguredActions, ListenerBroadcast withXmlActions)


 
Method Detail

equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


isDependencyOrderEntry

protected boolean isDependencyOrderEntry(java.lang.Object orderEntry)


toString

java.lang.String toString()


toXml

java.lang.Object toXml(java.io.Writer writer)
Generates the XML for the iml.
Parameters:
writer - The writer where the iml xml is generated into.


 

Groovy Documentation