- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for namedDomainObjectList (0.21 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/collections/DomainObjectCollectionFactory.java
import org.gradle.api.DomainObjectSet; import org.gradle.api.ExtensiblePolymorphicDomainObjectContainer; import org.gradle.api.NamedDomainObjectContainer; import org.gradle.api.NamedDomainObjectFactory; import org.gradle.api.NamedDomainObjectList; import org.gradle.api.NamedDomainObjectSet; import org.gradle.api.internal.CompositeDomainObjectSet; import org.gradle.internal.service.scopes.Scope; import org.gradle.internal.service.scopes.ServiceScope;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/collections.adoc
==== [[nameddomainobjectlist]] == 3. `NamedDomainObjectList` A link:{javadocPath}/org/gradle/api/NamedDomainObjectList.html[`NamedDomainObjectList`] holds a list of configurable objects, where each element has a name associated with it. This is similar to `NamedDomainObjectContainer`, however a `NamedDomainObjectList` doesn't manage the objects in the collection.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts
} // end::ndos[] // tag::ndol[] abstract class MyPluginExtensionNamedDomainObjectList { // Define a named domain object list to hold Person objects private val people: NamedDomainObjectList<Person> = project.objects.namedDomainObjectList(Person::class) // Add a person to the container fun addPerson(name: String) { people.plus(name) } } // end::ndol[] // tag::ndoc[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 2.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/model/ObjectFactory.java
* @param <T> The type of objects for the domain object set to contain. * @return The domain object list. * @since 6.1 */ <T> NamedDomainObjectList<T> namedDomainObjectList(Class<T> elementType); /** * Creates a {@link Property} implementation to hold values of the given type. The property has no initial value. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/collections/groovy/build.gradle
people.create(name) } } // end::ndos[] // tag::ndol[] abstract class MyPluginExtensionNamedDomainObjectList { // Define a named domain object container to hold Person objects NamedDomainObjectList<Person> people = project.container(Person) // Add a person to the container void addPerson(String name) { people.create(name: name) } } // end::ndol[] // tag::ndoc[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 2.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 07 02:25:12 UTC 2024 - 25.4K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 12:21:31 UTC 2024 - 91.3K bytes - Viewed (0)