- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for whenObjectRemoved (0.3 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/DelegatingDomainObjectSet.java
whenObjectAdded(ConfigureUtil.configureUsing(action)); } @Override public Action<? super T> whenObjectRemoved(Action<? super T> action) { return delegate.whenObjectRemoved(action); } @Override public void whenObjectRemoved(Closure action) { whenObjectRemoved(ConfigureUtil.configureUsing(action)); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 11 01:39:49 UTC 2023 - 4.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskRemovalIntegrationTest.groovy
"TaskContainer.iterator()#remove()" | "def it = tasks.iterator(); it.next(); it.remove()" } def "throws exception when using whenObjectRemoved"() { given: buildFile << """ task foo(type: Zip) {} tasks.whenObjectRemoved new Action<Task>() { void execute(Task t) {} } // need at least one task to execute anything task dummy """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/NamedDomainObjectContainerDelegate.kt
override fun getCollectionSchema(): NamedDomainObjectCollectionSchema = delegate.collectionSchema override fun whenObjectRemoved(action: Action<in T>): Action<in T> = delegate.whenObjectRemoved(action) override fun whenObjectRemoved(action: Closure<Any>) = delegate.whenObjectRemoved(action) override fun findAll(spec: Closure<Any>): MutableSet<T> = delegate.findAll(spec)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:18:33 UTC 2023 - 6.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/CustomNamedDomainObjectCollectionTest.groovy
return null } @Override void whenObjectAdded(Closure action) { } @Override Action<? super T> whenObjectRemoved(Action<? super T> action) { return null } @Override void whenObjectRemoved(Closure action) { } @Override void all(Action<? super T> action) { } @Override void all(Closure action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:21:31 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/TaskContainerDelegate.kt
delegate.collectionSchema override fun whenObjectRemoved(action: Action<in Task>): Action<in Task> = delegate.whenObjectRemoved(action) override fun whenObjectRemoved(action: Closure<Any>) = delegate.whenObjectRemoved(action) override fun findAll(spec: Closure<Any>): MutableSet<Task> = delegate.findAll(spec)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:18:33 UTC 2023 - 8.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/DomainObjectCollection.java
* @return the supplied action */ Action<? super T> whenObjectRemoved(Action<? super T> action); /** * Adds a closure to be called when an object is removed from this collection. The removed object is passed to the * closure as the parameter. * * @param action The closure to be called */ void whenObjectRemoved(Closure action); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 31 01:48:06 UTC 2022 - 7.9K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultNativeToolChainRegistry.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskCollection.java
}) ); } }; } public Action<? super T> whenObjectRemovedInternal(Action<? super T> action) { return super.whenObjectRemoved(action); } // Cannot be private due to reflective instantiation public class ExistingTaskProvider<I extends T> extends ExistingNamedDomainObjectProvider<I> implements TaskProvider<I> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 00:10:35 UTC 2024 - 9.7K bytes - Viewed (0)