Class ModuleLibrary
java.lang.Object
org.gradle.plugins.ide.idea.model.ModuleLibrary
- All Implemented Interfaces:
- Dependency
- Direct Known Subclasses:
- SingleEntryModuleLibrary
Represents an orderEntry of type module-library in the iml XML.
- 
Constructor SummaryConstructorsConstructorDescriptionModuleLibrary(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidbooleanA set of Jar files or directories containing compiled code.A set of directories containing Jar files.A set of Jar files or directories containing Javadoc.getScope()The scope of this library.A set of Jar files or directories containing source code.inthashCode()booleanWhether the library is exported to dependent modules.voidsetClasses(Set<Path> classes) voidsetExported(boolean exported) voidsetJarDirectories(Set<JarDirectory> jarDirectories) voidsetJavadoc(Set<Path> javadoc) voidThe scope of this library.voidsetSources(Set<Path> sources) toString()
- 
Constructor Details- 
ModuleLibrarypublic ModuleLibrary(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope) 
 
- 
- 
Method Details- 
getClassesA set of Jar files or directories containing compiled code.
- 
setClasses
- 
getJarDirectoriesA set of directories containing Jar files.
- 
setJarDirectories
- 
getJavadocA set of Jar files or directories containing Javadoc.
- 
setJavadoc
- 
getSourcesA set of Jar files or directories containing source code.
- 
setSources
- 
getScopeThe scope of this library. Ifnull, the scope attribute is not added.- Specified by:
- getScopein interface- Dependency
 
- 
setScopeDescription copied from interface:DependencyThe scope of this library. Ifnull, the scope attribute is not added.- Specified by:
- setScopein interface- Dependency
 
- 
isExportedpublic boolean isExported()Whether the library is exported to dependent modules.
- 
setExportedpublic void setExported(boolean exported) 
- 
addToNode- Specified by:
- addToNodein interface- Dependency
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-