@groovy.transform.CompileStatic class AvailableDistributionsInternal extends java.lang.Object
Implementation to report local available distributions
Type | Name and description |
---|---|
void |
addDistributions(Distribution... dist) Adds one or more distribution to the collection |
void |
addDistributions(java.lang.Iterable<Distribution> dists) Adds one or more distribution to the collection If versions already exist in the list they are not updated. |
java.util.Map<java.lang.String, java.io.File> |
getAllDistributionsAsMap() Returns all distributions that either found locally or downloaded and unpacked |
java.io.File |
location(java.lang.String version) Returns the location for a specific version. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds one or more distribution to the collection
dist
- Distribution to be addedAdds one or more distribution to the collection If versions already exist in the list they are not updated. (First add wins)
dist
- Distribution to be addedReturns all distributions that either found locally or downloaded and unpacked
Returns the location for a specific version.
version
- Version that is required