# NamedDomainObjectContainerScope

open class NamedDomainObjectContainerScope<T : Any> : NamedDomainObjectContainerDelegate<T> , <ERROR CLASS> ERROR CLASS: Symbol not found for PolymorphicDomainObjectContainer<T>(source)

Receiver for NamedDomainObjectContainer configuration blocks.

#### Inheritors

ConfigurationContainerScope

## Types

Companion
Link copied to clipboard
object Companion

## Properties

delegate
Link copied to clipboard
open override val delegate: ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>
size
Link copied to clipboard
open val size: Int

## Functions

add
Link copied to clipboard
open fun add(element: T): Boolean
addAll
Link copied to clipboard
open fun addAll(elements: Collection<T>): Boolean
addAllLater
Link copied to clipboard
open fun addAllLater(provider: org/gradle/api/provider/Provider<out kotlin/collections/Iterable<T>>)
addLater
Link copied to clipboard
open fun addLater(provider: org/gradle/api/provider/Provider<out T>)
addRule
Link copied to clipboard
open fun addRule(rule: org/gradle/api/Rule): org/gradle/api/Rule
open fun addRule(description: String, ruleAction: org/gradle/api/Action<kotlin/String>): org/gradle/api/Rule
open fun addRule(description: String, ruleAction: Closure<Any>): org/gradle/api/Rule
all
Link copied to clipboard
open fun all(action: org/gradle/api/Action<in T>)
open fun all(action: Closure<Any>)
clear
Link copied to clipboard
open fun clear()
configure
Link copied to clipboard
open fun configure(configureClosure: Closure<Any>): org/gradle/api/NamedDomainObjectContainer<T>
configureEach
Link copied to clipboard
open fun configureEach(action: org/gradle/api/Action<in T>)
containerWithType
Link copied to clipboard
open override fun <U : T> containerWithType(type: Class<U>): ERROR CLASS: Symbol not found for NamedDomainObjectContainer<U>
contains
Link copied to clipboard
open operator fun contains(element: T): Boolean
containsAll
Link copied to clipboard
open fun containsAll(elements: Collection<T>): Boolean
create
Link copied to clipboard
open override fun <U : T> create(name: String, type: Class<U>): U
open override fun <U : T> create(name: String, type: Class<U>, configuration: ERROR CLASS: Symbol not found for Action<in U>): U
open fun create(name: String): T
open fun create(name: String, configureAction: org/gradle/api/Action<in T>): T
open fun create(name: String, configureClosure: Closure<Any>): T
findAll
Link copied to clipboard
open fun findAll(spec: Closure<Any>): MutableSet<T>
findByName
Link copied to clipboard
open fun findByName(name: String): T?
getAsMap
Link copied to clipboard
open fun getAsMap(): SortedMap<String, T>
getAt
Link copied to clipboard
open fun getAt(name: String): T
getByName
Link copied to clipboard
open fun getByName(name: String): T
open fun getByName(name: String, configureAction: org/gradle/api/Action<in T>): T
open fun getByName(name: String, configureClosure: Closure<Any>): T
getCollectionSchema
Link copied to clipboard
open fun getCollectionSchema(): org/gradle/api/NamedDomainObjectCollectionSchema
getNamer
Link copied to clipboard
open fun getNamer(): org/gradle/api/Namer<T>
getNames
Link copied to clipboard
open fun getNames(): SortedSet<String>
getRules
Link copied to clipboard
open fun getRules(): MutableList<org/gradle/api/Rule>
invoke
Link copied to clipboard
operator fun String.invoke(configuration: T.() -> Unit): ERROR CLASS: Symbol not found for NamedDomainObjectProvider<T>
operator fun <U : T> String.invoke(type: KClass<U>, configuration: U.() -> Unit): ERROR CLASS: Symbol not found for NamedDomainObjectProvider<U>

Configures an object by name, without triggering its creation or configuration, failing if there is no such object.

operator fun <U : T> String.invoke(type: KClass<U>): ERROR CLASS: Symbol not found for NamedDomainObjectProvider<U>

Locates an object by name and type, without triggering its creation or configuration, failing if there is no such object.

isEmpty
Link copied to clipboard
open fun isEmpty(): Boolean
iterator
Link copied to clipboard
open operator fun iterator(): MutableIterator<T>
matching
Link copied to clipboard
open fun matching(spec: org/gradle/api/specs/Spec<in T>): org/gradle/api/NamedDomainObjectSet<T>
open fun matching(spec: Closure<Any>): org/gradle/api/NamedDomainObjectSet<T>
maybeCreate
Link copied to clipboard
open override fun <U : T> maybeCreate(name: String, type: Class<U>): U
open fun maybeCreate(name: String): T
named
Link copied to clipboard
open fun named(predicate: org/gradle/api/specs/Spec<kotlin/String>): org/gradle/api/NamedDomainObjectSet<T>
open fun named(name: String): org/gradle/api/NamedDomainObjectProvider<T>
open fun named(name: String, configurationAction: org/gradle/api/Action<in T>): org/gradle/api/NamedDomainObjectProvider<T>
open fun <S : T> named(name: String, type: Class<S>): org/gradle/api/NamedDomainObjectProvider<S>
open fun <S : T> named(name: String, type: Class<S>, configurationAction: org/gradle/api/Action<in S>): org/gradle/api/NamedDomainObjectProvider<S>
register
Link copied to clipboard
open override fun <U : T> register(name: String, type: Class<U>): ERROR CLASS: Symbol not found for NamedDomainObjectProvider<U>
open override fun <U : T> register(name: String, type: Class<U>, configurationAction: ERROR CLASS: Symbol not found for Action<in U>): ERROR CLASS: Symbol not found for NamedDomainObjectProvider<U>
open fun register(name: String): org/gradle/api/NamedDomainObjectProvider<T>
open fun register(name: String, configurationAction: org/gradle/api/Action<in T>): org/gradle/api/NamedDomainObjectProvider<T>
remove
Link copied to clipboard
open fun remove(element: T): Boolean
removeAll
Link copied to clipboard
open fun removeAll(elements: Collection<T>): Boolean
retainAll
Link copied to clipboard
open fun retainAll(elements: Collection<T>): Boolean
whenObjectAdded
Link copied to clipboard
open fun whenObjectAdded(action: org/gradle/api/Action<in T>): org/gradle/api/Action<in T>
open fun whenObjectAdded(action: Closure<Any>)
whenObjectRemoved
Link copied to clipboard
open fun whenObjectRemoved(action: org/gradle/api/Action<in T>): org/gradle/api/Action<in T>
open fun whenObjectRemoved(action: Closure<Any>)
withType
Link copied to clipboard
open fun <S : T> withType(type: Class<S>): org/gradle/api/NamedDomainObjectSet<S>
open fun <S : T> withType(type: Class<S>, configureAction: org/gradle/api/Action<in S>): org/gradle/api/DomainObjectCollection<S>
open fun <S : T> withType(type: Class<S>, configureClosure: Closure<Any>): org/gradle/api/DomainObjectCollection<S>