Model Map
Model backed map like structure allowing adding of items where instantiation is managed.
org.gradle.model.Managed types may declare model map properties. Model maps can only contain managed types.
Parameters
<T>
the contract type for all items
Inheritors
Functions
Link copied to clipboard
Applies the given action to each item in the collection, as each item is required.
Applies the given action to each item of the given type in the collection, as each item is required.
Link copied to clipboard
Applies the given action to each item in this collection, as each item is required.
Applies the given action to each item of the given type in this collection, as each item is required.
Link copied to clipboard
Link copied to clipboard
Returns true if this collection contains an item with the given name.
Link copied to clipboard
Returns true if this collection contains the given item.
Link copied to clipboard
Defines an item with the given name and type T.
Defines an item with the given name and type.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the items in this collection.
Link copied to clipboard
Returns a collection containing the items from this collection which are of the specified type.
Applies the given rules to all items of the collection of the given type.
Applies the given action to each item of the given type in the collection, as each item is required.
Link copied to clipboard
@Incubating
@Incubating
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.model.ModelMap.withType.