Groovy Documentation

org.gradle.plugins.ide.idea.model
[Groovy] Class ModuleLibrary

java.lang.Object
  org.gradle.plugins.ide.idea.model.ModuleLibrary
All Implemented Interfaces:
Dependency

class ModuleLibrary
extends java.lang.Object

Represents an orderEntry of type module-library in the iml xml.

Authors:
Hans Dockter


Property Summary
java.util.Set classes

A set of Path instances for class libraries.

boolean exported

java.util.Set jarDirectories

A set of JarDirectory instances for directories containing jars.

java.util.Set javadoc

A set of Path instances for javadoc associated with the library elements.

java.lang.String scope

The scope of this dependency.

java.util.Set sources

A set of Path instances for source code associated with the library elements.

 
Constructor Summary
ModuleLibrary(java.util.Collection classes, java.util.Collection javadoc, java.util.Collection sources, java.util.Collection jarDirectories, java.lang.String scope)

 
Method Summary
void addToNode(groovy.util.Node parentNode)

boolean equals(java.lang.Object o)

int hashCode()

java.lang.String toString()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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

classes

java.util.Set classes
A set of Path instances for class libraries. Can be paths to jars or class folders.


exported

boolean exported


jarDirectories

java.util.Set jarDirectories
A set of JarDirectory instances for directories containing jars.


javadoc

java.util.Set javadoc
A set of Path instances for javadoc associated with the library elements.


scope

java.lang.String scope
The scope of this dependency. If null, the scope attribute is not added.


sources

java.util.Set sources
A set of Path instances for source code associated with the library elements.


 
Constructor Detail

ModuleLibrary

ModuleLibrary(java.util.Collection classes, java.util.Collection javadoc, java.util.Collection sources, java.util.Collection jarDirectories, java.lang.String scope)


 
Method Detail

addToNode

void addToNode(groovy.util.Node parentNode)


equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


toString

java.lang.String toString()


 

Groovy Documentation