DependencySingleEntryModuleLibrarypublic class ModuleLibrary extends java.lang.Object implements Dependency
| Constructor | Description |
|---|---|
ModuleLibrary(java.util.Collection<? extends Path> classes,
java.util.Collection<? extends Path> javadoc,
java.util.Collection<? extends Path> sources,
java.util.Collection<JarDirectory> jarDirectories,
java.lang.String scope) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addToNode(Node parentNode) |
|
boolean |
equals(java.lang.Object o) |
|
java.util.Set<Path> |
getClasses() |
A set of Jar files or directories containing compiled code.
|
java.util.Set<JarDirectory> |
getJarDirectories() |
A set of directories containing Jar files.
|
java.util.Set<Path> |
getJavadoc() |
A set of Jar files or directories containing Javadoc.
|
java.lang.String |
getScope() |
The scope of this library.
|
java.util.Set<Path> |
getSources() |
A set of Jar files or directories containing source code.
|
int |
hashCode() |
|
boolean |
isExported() |
Whether the library is exported to dependent modules.
|
void |
setClasses(java.util.Set<Path> classes) |
|
void |
setExported(boolean exported) |
|
void |
setJarDirectories(java.util.Set<JarDirectory> jarDirectories) |
|
void |
setJavadoc(java.util.Set<Path> javadoc) |
|
void |
setScope(java.lang.String scope) |
The scope of this library.
|
void |
setSources(java.util.Set<Path> sources) |
|
java.lang.String |
toString() |
public ModuleLibrary(java.util.Collection<? extends Path> classes, java.util.Collection<? extends Path> javadoc, java.util.Collection<? extends Path> sources, java.util.Collection<JarDirectory> jarDirectories, java.lang.String scope)
public java.util.Set<Path> getClasses()
public void setClasses(java.util.Set<Path> classes)
public java.util.Set<JarDirectory> getJarDirectories()
public void setJarDirectories(java.util.Set<JarDirectory> jarDirectories)
public java.util.Set<Path> getJavadoc()
public void setJavadoc(java.util.Set<Path> javadoc)
public java.util.Set<Path> getSources()
public void setSources(java.util.Set<Path> sources)
public java.lang.String getScope()
null, the scope attribute is not added.getScope in interface Dependencypublic void setScope(java.lang.String scope)
Dependencynull, the scope attribute is not added.setScope in interface Dependencypublic boolean isExported()
public void setExported(boolean exported)
public void addToNode(Node parentNode)
addToNode in interface Dependencypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object