Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for setFailure (0.3 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/FailureContainer.java

        /**
         * Failure that caused the problem.
         * <p>
         * The method will always return <code>null</code> if run against a Gradle version prior to 8.8.
         * @since 8.7
         */
        @Nullable
        Failure getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:20 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultUnresolvedComponentResult.java

            this.failure = failure;
        }
    
        @Override
        public ComponentIdentifier getId() {
            return componentIdentifier;
        }
    
        @Override
        public Throwable getFailure() {
            return failure;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/GradleEnterprisePluginEndOfBuildListener.java

     *
     * Implemented by the Enterprise plugin.
     */
    public interface GradleEnterprisePluginEndOfBuildListener {
    
        interface BuildResult {
            @Nullable
            Throwable getFailure();
    
            Collection<Problem> getProblems();
    
            Collection<Problem> getProblemsFor(Throwable failure);
        }
    
        void buildFinished(BuildResult buildResult);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/scan/eob/BuildScanEndOfBuildNotifier.java

    /**
     * Used by the scan plugin to register a listener to be notified about the build finishing.
     */
    public interface BuildScanEndOfBuildNotifier {
    
        interface BuildResult {
            @Nullable
            Throwable getFailure();
        }
    
        interface BuildScanResult {
    
        }
    
        interface Listener {
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalProblemContextDetails.java

        @Nullable
        InternalDetails getDetails();
    
        List<InternalLocation> getLocations();
    
        List<InternalSolution> getSolutions();
    
        @Nullable
        InternalFailure getFailure();
    
        @Nullable
        InternalContextualLabel getContextualLabel();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:20 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/protocol/StreamFailureMessage.java

            // but we need some way to correlate a given request with a specific response channel
            return Delivery.AllHandlers;
        }
    
        public Throwable getFailure() {
            return failure;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResponseProducer.java

         */
        void writeTo(int requestId, HttpExchange exchange) throws IOException;
    
        /**
         * Returns the failure, if any.
         */
        default RuntimeException getFailure() {
            throw new IllegalStateException();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java

         */
        public abstract T getOrMapFailure(Function<Throwable, T> f);
    
        /**
         * Returns the failure for a failed result, or {@link Optional#empty()} otherwise.
         */
        public abstract Optional<Throwable> getFailure();
    
        /**
         * If the represented operation was successful, returns the result of applying the given
         * {@code Try}-bearing mapping function to the value, otherwise returns
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationRunner.java

                        Throwable failure = null;
                        try {
                            worker.execute(buildOperation, context);
                        } catch (Throwable t) {
                            if (context.getFailure() == null) {
                                context.failed(t);
                            }
                            failure = t;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:33:49 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolver.java

                return;
            }
    
            // Need to perform the actual resolve
            ComponentIdResolveResult result = selector.resolve(allRejects);
    
            if (result.getFailure() != null) {
                results.register(selector, result);
                return;
            }
    
            results.replaceExistingResolutionsWithBetterResult(result, selector.isFromLock());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 14:22:29 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top