T
- Type of model in the result@Incubating public interface ModelResult<T>
Modifier and Type | Method and Description |
---|---|
GradleConnectionException |
getFailure()
The failure retrieving the model.
|
T |
getModel()
Returns the model produced.
|
T getModel() throws GradleConnectionException
GradleConnectionException
- if the model could not be retrieved.@Nullable GradleConnectionException getFailure()
FailedModelResult
.