M
- The module classpublic abstract class Modules<M extends Module> extends AbstractList<M>
Dependencies
instance,
with added utility methods for querying different aspects of this data. See
Dependencies.getModules()
.
The instance itself is a list of the root nodes of the tree (the explicit
dependencies). For flat access to the entire tree, use
getAll()
.
modCount
Constructor and Description |
---|
Modules() |
Modifier and Type | Method and Description |
---|---|
abstract Collection<M> |
getAll()
Cached list of all modules, whether explicit or implicit.
|
abstract Collection<Artifact> |
getArtifacts()
Tje artifacts.
|
abstract Collection<M> |
getByLicense(License license)
All modules using a license.
|
abstract Collection<License> |
getLicenses()
The licenses.
|
abstract String |
getVersion(String group,
String name)
The version of a module.
|
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public abstract Collection<M> getAll()
public abstract Collection<Artifact> getArtifacts()
public abstract Collection<License> getLicenses()
public abstract Collection<M> getByLicense(License license)
license
- The licensepublic abstract String getVersion(String group, String name) throws SincerityException
group
- The module's groupname
- The module's nameSincerityException
- In case of an errorCopyright © 2011-2016 Three Crickets LLC.