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
ConstructorDescriptionModuleLibrary
(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
A 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.int
hashCode()
boolean
Whether the library is exported to dependent modules.void
setClasses
(Set<Path> classes) void
setExported
(boolean exported) void
setJarDirectories
(Set<JarDirectory> jarDirectories) void
setJavadoc
(Set<Path> javadoc) void
The scope of this library.void
setSources
(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:
getScope
in interfaceDependency
-
setScope
Description copied from interface:Dependency
The scope of this library. Ifnull
, the scope attribute is not added.- Specified by:
setScope
in interfaceDependency
-
isExported
public boolean isExported()Whether the library is exported to dependent modules. -
setExported
public void setExported(boolean exported) -
addToNode
- Specified by:
addToNode
in interfaceDependency
-
equals
-
hashCode
public int hashCode() -
toString
-