Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 82 for setFailure (0.36 sec)

  1. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/OperationFinishEvent.java

        }
    
        public long getStartTime() {
            return startTime;
        }
    
        public long getEndTime() {
            return endTime;
        }
    
        @Nullable
        public Throwable getFailure() {
            return failure;
        }
    
        @Nullable
        public Object getResult() {
            return result;
        }
    
        @Override
        public String toString() {
            return "OperationFinishEvent{" +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/ProblemContext.java

         * <br>
         * <code>null</code> if run against a Gradle version prior to 8.7
         *
         * @return the failure
         * @since 8.8
         */
        @Nullable
        FailureContainer getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 12:26:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/DefaultBuildableTypedResolveResult.java

        public T getResult() throws E {
            assertHasResult();
            if (failure != null) {
                throw failure;
            }
            return result;
        }
    
        @Nullable
        @Override
        public E getFailure() {
            assertHasResult();
            return failure;
        }
    
        public boolean isSuccessful() {
            return result != null;
        }
    
        @Override
        public boolean hasResult() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictResolverDetails.java

        public void fail(Throwable error) {
            failure = error;
        }
    
        @Override
        public T getSelected() {
            return selected;
        }
    
        @Nullable
        @Override
        public Throwable getFailure() {
            return failure;
        }
    
        @Override
        public boolean hasFailure() {
            return failure != null;
        }
    
        @Override
        public boolean hasSelected() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/caching/internal/operations/BuildCacheRemoteDisabledDueToFailureProgressDetails.java

         * The cache key.
         *
         * @since 8.6
         */
        String getCacheKey();
    
        /**
         * The failure that caused the build cache to be disabled.
         *
         * @since 8.6
         */
        Throwable getFailure();
    
        /**
         * The type of operation that had the failure.
         *
         * @since 8.6
         */
        BuildCacheOperationType getOperationType();
    
        /**
         * The type of build cache operation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 09:53:25 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DynamicProblemOperationContext.java

        }
    
        @Override
        public List<Solution> getSolutions() {
            throw new UnsupportedOperationException();
        }
    
        @Nullable
        @Override
        public FailureContainer getFailure() {
            throw new UnsupportedOperationException();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 12:26:28 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/SingleProblemEvent.java

         */
        List<Solution> getSolutions();
    
        /**
         * Returns the failure associated with this problem.
         *
         * @return the failure
         * @since 8.8
         */
        @Nullable
        FailureContainer getFailure();
    
        /**
         * Returns the additional data associated with this problem.
         *
         * @return the additional data
         * @since 8.9
         */
        AdditionalData getAdditionalData();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/ResolvedGraphDependency.java

     */
    public interface ResolvedGraphDependency {
    
        ComponentSelector getRequested();
    
        @Nullable
        ModuleVersionResolveException getFailure();
    
        /**
         * Returns the simple id of the selected component, as per {@link ResolvedGraphComponent#getResultId()}.
         */
        @Nullable
        Long getSelected();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DefaultProblemsOperationContext.java

            return solutions;
        }
    
        public AdditionalData getAdditionalData() {
            return additionalData;
        }
    
        @Nullable
        @Override
        public FailureContainer getFailure() {
            return failure;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 12:26:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilder.java

                }
                if (d.getFailure() != null) {
                    dependencyResult = dependencyResultFactory.createUnresolvedDependency(d.getRequested(), fromComponent, d.isConstraint(), d.getReason(), d.getFailure());
                } else {
                    DefaultResolvedComponentResult selectedComponent = components.get(d.getSelected().longValue());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top