modCount
Modifier | Constructor and Description |
---|---|
protected |
IvyModules(IvyDependencies dependencies)
Parses the latest Ivy resolution report.
|
Modifier and Type | Method and Description |
---|---|
IvyModule |
get(int index) |
Collection<IvyModule> |
getAll()
Cached list of all modules, whether explicit or implicit.
|
Collection<Artifact> |
getArtifacts()
Tje artifacts.
|
Collection<IvyModule> |
getByLicense(License license)
All modules using a license.
|
Collection<License> |
getLicenses()
The licenses.
|
String |
getVersion(String group,
String name)
The version of a module.
|
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected IvyModules(IvyDependencies dependencies) throws SincerityException
dependencies
- The dependencies instanceSincerityException
- In case of an errorpublic Collection<IvyModule> getAll()
Modules
public Collection<Artifact> getArtifacts()
Modules
getArtifacts
in class Modules<IvyModule>
public Collection<License> getLicenses()
Modules
getLicenses
in class Modules<IvyModule>
public Collection<IvyModule> getByLicense(License license)
Modules
getByLicense
in class Modules<IvyModule>
license
- The licensepublic String getVersion(String group, String name) throws SincerityException
Modules
getVersion
in class Modules<IvyModule>
group
- The module's groupname
- The module's nameSincerityException
- In case of an errorpublic int size()
size
in interface Collection<IvyModule>
size
in interface List<IvyModule>
size
in class AbstractCollection<IvyModule>
Copyright © 2011-2016 Three Crickets LLC.