get Model
inline fun <T : Any> ProjectConnection.getModel(modelType: KClass<T>, handler: ResultHandler<in T>)(source)
inline fun <T : Any> ProjectConnection.getModel(modelType: KClass<T>, handler: ResultHandler<in T>)(source)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.tooling.ProjectConnection.getModel.
Since
1.0-milestone-3
See also
Project Connection. getModel
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.tooling.BuildController.getModel.
Since
1.8
See also
Build Controller. getModel
inline fun <T : Any, P : Any> BuildController.getModel(modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T(source)
inline fun <T : Any, P : Any> BuildController.getModel(modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T(source)
inline fun <T : Any, P : Any> BuildController.getModel(target: Model, modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T(source)
inline fun <T : Any, P : Any> BuildController.getModel(target: Model, modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T(source)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.tooling.BuildController.getModel.
Since
4.4
See also
Build Controller. getModel