- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for DomainObjectCollection (0.68 sec)
-
subprojects/core-api/src/main/java/org/gradle/api/DomainObjectCollection.java
import groovy.lang.Closure; import groovy.lang.DelegatesTo; import org.gradle.api.provider.Provider; import org.gradle.api.specs.Spec; import java.util.Collection; /** * <p>A {@code DomainObjectCollection} is a specialised {@link Collection} that adds the ability to receive modification notifications and use live filtered sub collections.</p> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 31 01:48:06 UTC 2022 - 7.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/CompositeDomainObjectSet.java
} public void addComposited(DomainObjectCollection<? extends T> collection) { this.store.add(collection); } public void removeComposited(DomainObjectCollection<? extends T> collection) { Iterator<DomainObjectCollection<? extends T>> iterator = store.iterator(); while (iterator.hasNext()) { DomainObjectCollection<? extends T> next = iterator.next();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 10.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/DomainObjectCollectionExtensions.kt
* @return The matching objects. Returns an empty collection if there are no such objects * in this collection. * @see [DomainObjectCollection.withType] */ inline fun <reified S : Any> DomainObjectCollection<in S>.withType(noinline configuration: S.() -> Unit) = withType(S::class.java, configuration) /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/task_configuration_avoidance.adoc
| link:{javadocPath}/org/gradle/api/DomainObjectCollection.html#withType-java.lang.Class-org.gradle.api.Action-[DomainObjectCollection.withType()] | Use `withType().configureEach()` instead. | link:{javadocPath}/org/gradle/api/DomainObjectCollection.html#all-org.gradle.api.Action-[DomainObjectCollection.all()] | Use `configureEach()` instead.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 23:45:25 UTC 2024 - 21.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/DomainObjectCollectionFactory.java
/** * Creates a {@link CompositeDomainObjectSet} for managing a collection of {@link DomainObjectCollection} of the specified type. */ <T> CompositeDomainObjectSet<T> newDomainObjectSet(Class<T> elementType, DomainObjectCollection<? extends T> collection); <T> ExtensiblePolymorphicDomainObjectContainer<T> newPolymorphicDomainObjectContainer(Class<T> elementType);
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/software/platform-base/src/main/java/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMap.java
private final Class<T> elementType; private final DomainObjectCollection<T> collection; private final NamedEntityInstantiator<T> instantiator; private final org.gradle.api.Namer<? super T> namer; private final Action<? super T> onCreateAction;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 7.9K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/DomainObjectSet.java
/** * <p>A {@code DomainObjectSet} is a specialization of {@link DomainObjectCollection} that guarantees {@link Set} semantics.</p> * * <p>You can create an instance of this type using the factory method {@link org.gradle.api.model.ObjectFactory#domainObjectSet(Class)}.</p> * * @param <T> The type of objects in this set. */ public interface DomainObjectSet<T> extends DomainObjectCollection<T>, Set<T> { /** * {@inheritDoc} */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 01 21:44:06 UTC 2019 - 1.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/DefaultDomainObjectCollection.java
} @Override public DomainObjectCollection<T> matching(final Spec<? super T> spec) { return filtered(createFilter(spec)); } @Override public DomainObjectCollection<T> matching(Closure spec) { return matching(Specs.convertClosureToSpec(spec)); } @Override public <S extends T> DomainObjectCollection<S> withType(final Class<S> type) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 15.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt
${NamedDomainObjectContainer::class.qualifiedName}<Build_gradle.A> ${NamedDomainObjectCollection::class.qualifiedName}<Build_gradle.B> ${DomainObjectCollection::class.qualifiedName}<Build_gradle.A> ${DomainObjectCollection::class.qualifiedName}<Build_gradle.B> ${TaskCollection::class.qualifiedName}<${Task::class.qualifiedName}>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:53:16 UTC 2023 - 9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/DelegatingDomainObjectSet.java
whenObjectRemoved(ConfigureUtil.configureUsing(action)); } @Override public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Action<? super S> configureAction) { return delegate.withType(type, configureAction); } @Override public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Closure configureClosure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 11 01:39:49 UTC 2023 - 4.5K bytes - Viewed (0)