Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 684 for Advice (0.13 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecatedFeatureUsageTest.groovy

            "summary" | "removalDetails" | "advice" | null               | null                                         | "summary removalDetails advice"
            "summary" | "removalDetails" | "advice" | "contextualAdvice" | null                                         | "summary removalDetails contextualAdvice advice"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 16:09:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecatedFeatureUsage.java

            return removalDetails;
        }
    
        /**
         * General, non usage specific, advice on what to do about this notice.
         *
         * Example: Use method Foo.baz() instead.
         */
        @Nullable
        public String getAdvice() {
            return advice;
        }
    
        /**
         * Advice on what to do about the notice, specific to this usage.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessage.java

        private final String advice;
        private final String context;
        private final DocLink documentation;
        private final DeprecatedFeatureUsage.Type usageType;
        private final String problemIdDisplayName;
        private final String problemId;
    
        DeprecationMessage(
            String summary,
            String removalDetails,
            @Nullable String advice,
            @Nullable String context,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 15:25:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DocumentedFailure.java

                this.contextualAdvice = contextualAdvice;
                return this;
            }
    
            @CheckReturnValue
            public Builder withAdvice(String advice) {
                this.advice = advice;
                return this;
            }
    
            @Override
            @CheckReturnValue
            public Builder withDocumentation(DocLink documentation) {
                this.documentation = documentation;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 14:27:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/Severity.java

     * @since 8.6
     */
    @Incubating
    public interface Severity {
    
        // Note: the static fields must be in sync with entries from org.gradle.api.problems.Severity.
        /**
         * Advice-level severity.
         *
         * @since 8.6
         */
        Severity ADVICE = new DefaultSeverity(0, true);
    
        /**
         * Warning-level severity.
         *
         * @since 8.6
         */
        Severity WARNING = new DefaultSeverity(1, true);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 13:56:41 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/Severity.java

     */
    
    package org.gradle.api.problems;
    
    import org.gradle.api.Incubating;
    
    /**
     * A problem severity.
     *
     * @since 8.6
     */
    @Incubating
    public enum Severity {
        ADVICE("Advice"),
        WARNING("Warning"),
        ERROR("Error");
        private final String displayName;
    
        Severity(String displayName) {
            this.displayName = displayName;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DefaultSeverity.java

        }
    
        @Override
        public boolean isKnown() {
            return known;
        }
    
        public static Severity from(int severity) {
            if (severity == Severity.ADVICE.getSeverity()) {
                return Severity.ADVICE;
            } else if (severity == Severity.WARNING.getSeverity()) {
                return Severity.WARNING;
            } else if (severity == Severity.ERROR.getSeverity()) {
                return Severity.ERROR;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 11:02:44 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/RoleBasedConfigurationCreationRequest.java

     * actionable advice to avoid the problem.
     */
    public interface RoleBasedConfigurationCreationRequest {
        /**
         * The default advice when a configuration is created with a reserved name.
         *
         * @param configurationName the name of the configuration being requested
         * @return the default advice for a deprecation warning related to this request
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 13:42:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/VariantIdentityUniquenessVerifier.java

            ) {
                DocumentedFailure.Builder builder = DocumentedFailure.builder();
                String advice = "Consider adding an additional attribute to one of the configurations to disambiguate them.";
                if (withTaskAdvice) {
                    advice += "  Run the 'outgoingVariants' task for more details.";
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemsServiceIntegTest.groovy

                definition.severity == Severity.WARNING
            }
        }
    
        def "notCompatibleWithConfigurationCache task problems are reported as Advice"() {
            given:
            buildFile """
                task run {
                    notCompatibleWithConfigurationCache("because")
                    doLast {
                        println(project.name)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top