ComponentSpecContainer

A container of software components.

Functions

Link copied to clipboard
abstract fun afterEach(configAction: Action<in T>)
Link copied to clipboard
@Incubating
inline fun <S : Any, T : Any> ModelMap<T>.afterEach(type: KClass<S>, configAction: Action<in S>)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.model.ModelMap.afterEach.

Link copied to clipboard
abstract fun all(configAction: Action<in T>)
Link copied to clipboard
abstract fun beforeEach(configAction: Action<in T>)
Link copied to clipboard
@Incubating
inline fun <S : Any, T : Any> ModelMap<T>.beforeEach(type: KClass<S>, configAction: Action<in S>)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.model.ModelMap.beforeEach.

Link copied to clipboard
abstract fun containsKey(name: Any): Boolean
Link copied to clipboard
abstract fun containsValue(item: Any): Boolean
Link copied to clipboard
abstract fun create(name: String)
Link copied to clipboard
@Incubating
inline fun <S : T, T : Any> ModelMap<T>.create(name: String, type: KClass<S>)
@Incubating
inline fun <S : T, T : Any> ModelMap<T>.create(name: String, type: KClass<S>, configAction: Action<in S>)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.model.ModelMap.create.

Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
abstract fun get(name: Any): T
Link copied to clipboard
abstract fun getDisplayName(): String
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun keySet(): Set<String>
Link copied to clipboard
abstract fun named(name: String, configAction: Action<in T>)
Link copied to clipboard
@Incubating
inline fun <T : Any> ModelMap<T>.named(name: String, ruleSource: KClass<out RuleSource>)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.model.ModelMap.named.

Link copied to clipboard
abstract fun put(name: String, instance: T)
Link copied to clipboard
abstract fun size(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun values(): Collection<T>
Link copied to clipboard
abstract fun <S> withType(type: Class<S>): ModelMap<S>
abstract fun <S> withType(type: Class<S>, configAction: Action<in S>)
Link copied to clipboard
@Incubating
inline fun <S : Any, T : Any> ModelMap<T>.withType(type: KClass<S>): ModelMap<S>
@Incubating
inline fun <S : Any, T : Any> ModelMap<T>.withType(type: KClass<S>, rules: KClass<out RuleSource>)
@Incubating
inline fun <S : Any, T : Any> ModelMap<T>.withType(type: KClass<S>, configAction: Action<in S>)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.model.ModelMap.withType.