Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for asFailure (0.14 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

        protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>());
    
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        public boolean hasFailure() {
            return !failures.isEmpty();
        }
    
        public List<Throwable> getFailures() {
            return failures;
        }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/configuration/project/LifecycleProjectEvaluator.java

                    try {
                        state.toBeforeEvaluate();
                        buildOperationRunner.run(new NotifyBeforeEvaluate(project, state));
    
                        if (!state.hasFailure()) {
                            state.toEvaluate();
                            try {
                                delegate.evaluate(project, state);
                            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/RunBuildAction.java

                );
                if (result.hasFailure()) {
                    // Don't need to unpack the serialized failure. It will already have been reported and is not used by anything downstream of this action.
                    throw new ReportedException();
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/exec/BuildActionResult.java

        public SerializedPayload getFailure() {
            return serializedFailure;
        }
    
        @Nullable
        public RuntimeException getException() {
            return failure;
        }
    
        public boolean hasFailure() {
            return failure != null || serializedFailure != null;
        }
    
        public void rethrow() {
            if (failure != null) {
                throw failure;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

      internal var isDuplex: Boolean = false
        private set
    
      /** True if there was an exception on the connection to the peer. */
      internal var hasFailure: Boolean = false
        private set
    
      internal val connection: RealConnection
        get() = codec.carrier as? RealConnection ?: error("no connection for CONNECT tunnels")
    
      internal val isCoalescedConnection: Boolean
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

                configurationCacheBuildOperations.assertStateStored(false)
            }
    
            def message = "Configuration cache entry ${details.storeAction}"
            boolean isFailure = spec.result instanceof ExecutionFailure
            if (isFailure) {
                spec.outputContains(message)
            } else {
                spec.postBuildOutputContains(message)
            }
    
            assertHasProblems(problemDetails)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandler.java

            ConflictResolverDetails<ComponentState> details = new DefaultConflictResolverDetails<>(conflict.candidates);
            resolver.select(details);
            if (details.hasFailure()) {
                throw UncheckedException.throwAsUncheckedException(details.getFailure());
            }
            ComponentResolutionState selected = details.getSelected();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top