- Sort Score
- Result 10 results
- Languages All
Results 61 - 65 of 65 for WorkParameters (0.17 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy
it.params = [ name ] } } } """ } private defineGradleWorkAction() { """ interface WorkActionParams extends WorkParameters { Property<String> getName() } abstract class TestWorkAction implements WorkAction<WorkActionParams> { public void execute() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ProjectConfigurationChildrenProgressCrossVersionSpec.groovy
"class ${name}WorkAction implements Runnable { public void run() { } }" } else { "abstract class ${name}WorkAction implements WorkAction<WorkParameters.None> { public void execute() { } }" } } private String workerSubmit(String actionName) { if (getTargetVersion() < GradleVersion.version("6.0")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Jan 14 00:59:27 UTC 2024 - 15.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy
void ping() { new URL("http://localhost:${blockingServer.port}/" + path).text } } interface TestParallelWorkActionConfig extends WorkParameters { Property<String> getPath() } abstract class TestParallelWorkAction implements WorkAction<TestParallelWorkActionConfig> { void execute() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 14:00:51 UTC 2024 - 21K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy
task extract(type: Extract) { archiveFile = file('test.tar') destinationDir = file('build/extract') } interface ExtracterParameters extends WorkParameters { RegularFileProperty getArchiveFile() DirectoryProperty getDestinationDir() Property<Integer> getIndex() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:32:21 UTC 2024 - 28.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/worker_api.adoc
This is where the Worker API can help. To use the Worker API, you need to define an interface that represents the parameters of each unit of work and extends `org.gradle.workers.WorkParameters`. For the generation of MD5 hash files, the unit of work will require two parameters: 1. the file to be hashed and, 2. the file to write the hash to.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 28 13:41:08 UTC 2024 - 17.7K bytes - Viewed (0)