- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for cancellationToken (0.42 sec)
-
subprojects/core/src/main/java/org/gradle/execution/TaskPathProjectEvaluator.java
public class TaskPathProjectEvaluator implements ProjectConfigurer { private final BuildCancellationToken cancellationToken; public TaskPathProjectEvaluator(BuildCancellationToken cancellationToken) { this.cancellationToken = cancellationToken; } @Override public void configure(ProjectInternal project) { project.getOwner().ensureConfigured(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jul 20 01:17:14 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParameters.java
} }); listeners.add(listener); } } public void setCancellationToken(CancellationToken cancellationToken) { this.cancellationToken = cancellationToken; } public void setStreamedValueListener(StreamedValueListener streamedValueListener) { this.streamedValueListener = streamedValueListener;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 19:46:37 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildCancellationTokenAdapter.java
private final BuildCancellationToken cancellationToken; public BuildCancellationTokenAdapter(BuildCancellationToken cancellationToken) { this.cancellationToken = cancellationToken; } @Override public boolean isCancellationRequested() { return cancellationToken.isCancellationRequested(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/CancellableConsumerActionExecutorTest.groovy
_ * params.cancellationToken >> cancellationToken 1 * delegate.run(action) 0 * _._ } def doesNotInvokeActionRunWhenCancellationRequested() { when: connection.run(action) then: _ * cancellationToken.cancellationRequested >> true _ * action.parameters >> params _ * params.cancellationToken >> cancellationToken 0 * _._ and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/loader/CachingToolingImplementationLoader.java
ClassPath classpath = distribution.getToolingImplementationClasspath(progressLoggerFactory, progressListener, connectionParameters, cancellationToken); try { return connections.get(classpath, new ConsumerConnectionCreator(distribution, progressLoggerFactory, progressListener, connectionParameters, cancellationToken)); } catch (ExecutionException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 09:39:07 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutor.java
waitForDeployments(action, requestMetaData, buildSession, cancellationToken, cancellableOperationManager); } } } private CancellableOperationManager createCancellableOperationManager(BuildRequestMetaData requestContext, BuildCancellationToken cancellationToken) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 17:41:07 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/SynchronizedToolingImplementationLoaderTest.groovy
def params = Mock(ConnectionParameters) def cancellationToken = Mock(BuildCancellationToken) def target = Mock(ToolingImplementationLoader) def loader = new SynchronizedToolingImplementationLoader(target) def "blocks and reports progress when busy"() { when: start { loader.create(distro, factory, _ as InternalBuildProgressListener, params, cancellationToken) } async {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/DefaultCancellableOperationManager.java
private final BuildCancellationToken cancellationToken; public DefaultCancellableOperationManager(ExecutorService executorService, DisconnectableInputStream input, BuildCancellationToken cancellationToken) { this.executorService = executorService; this.input = input; this.cancellationToken = cancellationToken; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 3.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/PassThruCancellableOperationManager.java
private final BuildCancellationToken cancellationToken; public PassThruCancellableOperationManager(BuildCancellationToken cancellationToken) { this.cancellationToken = cancellationToken; } @Override public void monitorInput(Action<? super BuildCancellationToken> operation) { operation.execute(cancellationToken); } @Override public void closeInput() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 28 06:12:41 UTC 2017 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/execution/ClientBuildRequestContext.java
private final boolean interactive; private final BuildCancellationToken cancellationToken; private final BuildEventConsumer eventConsumer; public ClientBuildRequestContext( GradleLauncherMetaData client, long startTime, boolean interactive, BuildCancellationToken cancellationToken, BuildEventConsumer eventConsumer ) { this.client = client;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 2K bytes - Viewed (0)