- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ParameterAction (0.19 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/ParameterAction.java
*/ package org.gradle.integtests.tooling.r44; import org.gradle.api.Action; import org.gradle.tooling.BuildAction; import org.gradle.tooling.BuildController; public class ParameterAction implements BuildAction<CustomModel> { @Override public CustomModel execute(BuildController controller) { return controller.getModel(CustomModel.class, CustomParameter.class, new Action<CustomParameter>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/ParameterizedToolingModelCrossVersionSpec.groovy
} } @TargetGradleVersion(">=4.4") def "can get models with parameters"() { when: def model = withConnection { connection -> connection.action(new ParameterAction()).run() } then: model.isBuiltWithParameter() model.getParameterValue() == "myParameter" } @TargetGradleVersion(">=4.4")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/DefaultWorkerExecutor.java
Class<T> parameterType = isolationScheme.parameterTypeFor(workActionClass); T parameters = (parameterType == null) ? null : instantiator.newInstance(parameterType); if (parameters != null) { parameterAction.execute(parameters); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:17:07 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/WorkQueue.java
* will be thrown from {@link #await()} or from the surrounding task action if {@link #await()} is not used. */ <T extends WorkParameters> void submit(Class<? extends WorkAction<T>> workActionClass, Action<? super T> parameterAction); /** * Blocks until all work associated with this queue is complete. Note that when using this method inside
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersIntegrationTest.groovy
} @TaskAction void doWork() { def parameterAction = paramConfig != null ? paramConfig : {} workerExecutor."\${isolationMode}"().submit(ParameterWorkAction.class, parameterAction) } void parameters(Closure closure) { paramConfig = closure }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 13.2K bytes - Viewed (0)