@groovy.transform.CompileStatic class GradleUpdateResult extends java.lang.Object
Holder class for gradle update results of a specific release channel (or the running version). Used for reporting & serialization to JSON/XML
| Type | Name and description |
|---|---|
boolean |
isFailureIndicates whether the check for Gradle updates on this release channel failed. |
boolean |
isUpdateAvailableIndicates whether the version is an update with respect to the currently running gradle version. |
java.lang.String |
reasonAn explanatory field on how to interpret the results. |
java.lang.String |
versionThe version available on the release channel represented by this object. |
| Constructor and description |
|---|
GradleUpdateResult
(boolean enabled, Available running, ReleaseStatus release) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
int |
compareTo(GradleUpdateResult o)Compares two instances of GradleUpdateResult. |
| 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() |
Indicates whether the check for Gradle updates on this release channel failed.
Indicates whether the version is an update with respect to the currently running gradle version.
An explanatory field on how to interpret the results. Useful when version is not set to a valid value.
The version available on the release channel represented by this object.
Compares two instances of GradleUpdateResult.
Groovy Documentation