- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 534 for CLOSURE (0.11 sec)
-
subprojects/core/src/main/java/org/gradle/listener/ClosureBackedMethodInvocationDispatch.java
this.methodName = methodName; this.closure = closure; } @Override public void dispatch(MethodInvocation message) { if (message.getMethodName().equals(methodName)) { Object[] parameters = message.getArguments(); if (closure.getMaximumNumberOfParameters() < parameters.length) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 12:43:02 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelMapGroovyView.java
Class<? extends I> itemType = uncheckedCast(args[0]); Closure<? super I> closure = uncheckedCast(args[1]); create(name, itemType, closure); } else if (args.length == 1 && args[0] instanceof Closure<?>) { Closure<? super I> closure = uncheckedCast(args[0]); named(name, closure); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/execution/TaskExecutionGraph.java
void removeTaskExecutionListener(TaskExecutionListener listener); /** * <p>Adds a closure to be called when this graph has been populated. This graph is passed to the closure as a * parameter.</p> * * @param closure The closure to execute when this graph has been populated. */ void whenReady(Closure closure); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 20:29:51 UTC 2023 - 6.7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/DomainObjectCollection.java
/** * Adds a closure to be called when an object is added to this collection. The newly added object is passed to the * closure as the parameter. * * @param action The closure to be called * @see #whenObjectAdded(Action) */ void whenObjectAdded(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/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/GradleDelegate.kt
delegate.removeProjectEvaluationListener(listener) override fun beforeSettings(closure: Closure<*>) = delegate.beforeSettings(closure) override fun beforeSettings(action: Action<in Settings>) = delegate.beforeSettings(action) override fun beforeProject(closure: Closure<Any>) = delegate.beforeProject(closure) override fun beforeProject(action: Action<in Project>) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 22:53:34 UTC 2024 - 5.7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/ResolutionResult.java
/** * Applies given closure for each dependency. * An instance of {@link DependencyResult} is passed as parameter to the closure. * * @param closure - closure that is applied for each dependency */ void allDependencies(@DelegatesTo(DependencyResult.class) Closure closure); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 24 19:03:56 UTC 2023 - 4.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/properties/ScriptSourceAwareImplementationResolverTest.groovy
type | implementation "Closure" | { it } "Action" | new Action<String>() { @Override void execute(String s) {} } } def "correct implementation for closure wrapped in Action is tracked"() { given: def closure = { it } expect: ScriptSourceAwareImplementationResolver.unwrapBean(ConfigureUtil.configureUsing(closure)) == closure and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 16 20:27:03 UTC 2022 - 1.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ArtifactResolutionExpectationSpec.groovy
* @param expectation */ void withModuleMetadata(@DelegatesTo(value = SingleArtifactResolutionResultSpec, strategy = Closure.DELEGATE_FIRST) Closure<?> expectation) { expectation.resolveStrategy = Closure.DELEGATE_FIRST expectation.delegate = withModuleMetadataSpec expectation() } /** * Setup expectation when resolving without module metadata
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/GroovyDynamicDispatchingInterceptingTest.groovy
when: 'a closure throwing an exception is called' transformedThrowingClosure() then: 'the exception is thrown, but despite that, the closure must have been removed from the closure control flow tracker, which is checked below' thrown(RuntimeException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 09:44:54 UTC 2023 - 8K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/api/PropertiesFileContentMerger.java
} /** * Adds a closure to be called when the file has been created. * The {@link Properties} are passed to the closure as a parameter. * The closure can modify the Properties before they are written to the output file. * <p> * For examples see docs for {@link org.gradle.plugins.ide.eclipse.model.EclipseJdt} and others. * * @param closure The closure to execute when the Properties have been created.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.6K bytes - Viewed (0)