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 Summary
ConstructorsConstructorDescriptionModuleLibrary(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope) -
Method Summary
Modifier 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
-
ModuleLibrary
public ModuleLibrary(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope)
-
-
Method Details
-
getClasses
A set of Jar files or directories containing compiled code. -
setClasses
-
getJarDirectories
A set of directories containing Jar files. -
setJarDirectories
-
getJavadoc
A set of Jar files or directories containing Javadoc. -
setJavadoc
-
getSources
A set of Jar files or directories containing source code. -
setSources
-
getScope
The scope of this library. Ifnull, the scope attribute is not added.- Specified by:
getScopein interfaceDependency
-
setScope
Description copied from interface:DependencyThe scope of this library. Ifnull, the scope attribute is not added.- Specified by:
setScopein interfaceDependency
-
isExported
public boolean isExported()Whether the library is exported to dependent modules. -
setExported
public void setExported(boolean exported) -
addToNode
- Specified by:
addToNodein interfaceDependency
-
equals
-
hashCode
public int hashCode() -
toString
-