DependencySingleEntryModuleLibrarypublic class ModuleLibrary extends Object implements Dependency
| Constructor | Description |
|---|---|
ModuleLibrary(Collection<? extends Path> classes,
Collection<? extends Path> javadoc,
Collection<? extends Path> sources,
Collection<JarDirectory> jarDirectories,
String scope) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addToNode(Node parentNode) |
|
boolean |
equals(Object o) |
|
Set<Path> |
getClasses() |
A set of Jar files or directories containing compiled code.
|
Set<JarDirectory> |
getJarDirectories() |
A set of directories containing Jar files.
|
Set<Path> |
getJavadoc() |
A set of Jar files or directories containing Javadoc.
|
String |
getScope() |
The scope of this library.
|
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(Set<Path> classes) |
|
void |
setExported(boolean exported) |
|
void |
setJarDirectories(Set<JarDirectory> jarDirectories) |
|
void |
setJavadoc(Set<Path> javadoc) |
|
void |
setScope(String scope) |
The scope of this library.
|
void |
setSources(Set<Path> sources) |
|
String |
toString() |
public ModuleLibrary(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope)
public Set<Path> getClasses()
public Set<JarDirectory> getJarDirectories()
public void setJarDirectories(Set<JarDirectory> jarDirectories)
public String getScope()
null, the scope attribute is not added.getScope in interface Dependencypublic void setScope(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 Dependency