- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isFailure (0.13 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AbstractFailure.java
private final RuntimeException failure; public AbstractFailure(RuntimeException failure) { this.failure = failure; } @Override public boolean isFailure() { return true; } @Override public RuntimeException getFailure() { return failure; } @Override public void writeTo(int requestId, HttpExchange exchange) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResponseProducer.java
*/ package org.gradle.test.fixtures.server.http; import com.sun.net.httpserver.HttpExchange; import java.io.IOException; interface ResponseProducer { default boolean isFailure() { return false; } /** * Called to handle a request. Is *not* called under lock. */ void writeTo(int requestId, HttpExchange exchange) throws IOException; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/ExecutionResult.java
*/ public abstract ExecutionResult<T> withFailures(ExecutionResult<Void> otherResult); /** * Casts a failed result. */ public abstract <S> ExecutionResult<S> asFailure(); public static <T> ExecutionResult<T> succeeded(T value) { return new Success<T>() { @Override public T getValue() { return value; } };
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 03 03:31:42 UTC 2023 - 6.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/build/ExecutionResultTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 03 03:31:42 UTC 2023 - 5.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/buildtree/DefaultBuildTreeLifecycleController.java
ExecutionResult<Void> result = workController.scheduleAndRunRequestedTasks(null); if (!result.getFailures().isEmpty()) { return result.asFailure(); } } T model = modelCreator.fromBuildModel(action); return ExecutionResult.succeeded(model); }); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 07:46:55 UTC 2024 - 5.5K bytes - Viewed (0)