Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 132 for getFailure (0.18 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/ResolveResult.java

    package org.gradle.internal.resolve.result;
    
    import javax.annotation.Nullable;
    
    public interface ResolveResult {
        /**
         * Returns the resolve failure, if any.
         */
        @Nullable
        Throwable getFailure();
    
        /**
         * Returns true if the result either has some value, or a failure.
         */
        boolean hasResult();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 947 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/problem/InternalBasicProblemDetailsVersion2.java

    import org.gradle.tooling.internal.protocol.InternalFailure;
    
    import javax.annotation.Nullable;
    
    public interface InternalBasicProblemDetailsVersion2 extends InternalBasicProblemDetails {
    
        @Nullable
        InternalFailure getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 09:00:27 UTC 2024
    - 911 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dataflowActions/playSound/groovy/plugin/src/main/java/org/gradle/sample/sound/SoundFeedbackPlugin.java

                        getFlowProviders().getBuildWorkResult().map(result -> // <5>
                            new File(
                                soundsDir,
                                result.getFailure().isPresent() ? "sad-trombone.mp3" : "tada.mp3"
                            )
                        )
                    )
            );
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/UnresolvedComponentResult.java

     *
     * @since 2.0
     */
    public interface UnresolvedComponentResult extends ComponentResult {
        /**
         * Returns the failure that occurred when trying to resolve the component.
         */
        Throwable getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 10 09:42:35 UTC 2018
    - 920 bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/UnresolvedArtifactResult.java

     *
     * @since 2.0
     */
    public interface UnresolvedArtifactResult extends ArtifactResult {
        /**
         * The failure that occurred when the artifact was resolved.
         */
        Throwable getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 10 09:42:35 UTC 2018
    - 904 bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/ErroringResolveResult.java

        /**
         * Marks the resolution as failed with the given failure.
         */
        void failed(E error);
    
        /**
         * {@inheritDoc}
         */
        @Nullable
        @Override
        E getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 972 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ConflictResolverDetails.java

        Collection<? extends T> getCandidates();
    
        void select(T candidate);
    
        void fail(Throwable error);
    
        @Nullable
        T getSelected();
    
        @Nullable
        Throwable getFailure();
    
        boolean hasFailure();
    
        boolean hasSelected();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DefaultFailureContainer.java

        private final Failure failure;
    
        public DefaultFailureContainer(@Nullable Failure failure) {
            this.failure = failure;
        }
    
        @Override
        public Failure getFailure() {
            return failure;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 12:43:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/RepositoryAwareVerificationFailure.java

        public RepositoryAwareVerificationFailure(VerificationFailure failure, String repositoryName) {
            this.failure = failure;
            this.repositoryName = repositoryName;
        }
    
        public VerificationFailure getFailure() {
            return failure;
        }
    
        public String getRepositoryName() {
            return repositoryName;
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/flow/BuildWorkResult.java

         * scheduled work.
         *
         * @return {@link Optional#empty() empty} when no failures occur.
         */
        Optional<Throwable> getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 22:42:58 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top