Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 327 for documentedAt (0.19 sec)

  1. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultProblemBuilder.java

        }
    
        @Override
        public InternalProblemBuilder details(String details) {
            this.details = details;
            return this;
        }
    
        @Override
        public InternalProblemBuilder documentedAt(@Nullable DocLink doc) {
            this.docLink = doc;
            return this;
        }
    
        @Override
        public InternalProblemBuilder id(String name, String displayName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/AbstractValidatingProperty.java

                    .id(TextUtil.screamingSnakeToKebabCase(VALUE_NOT_SET), "Value not set", GradleCoreProblemGroup.validation().property())
                    .contextualLabel("doesn't have a configured value")
                    .documentedAt(userManual("validation_problems", VALUE_NOT_SET.toLowerCase()))
                    .severity(Severity.ERROR)
                    .details("This property isn't marked as optional and no value has been configured");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/ServiceReferencePropertyAnnotationHandler.java

                        .contextualLabel(String.format("has @ServiceReference annotation used on property of type '%s' which is not a build service implementation", typeVariables.get(0).getName()))
                        .documentedAt(userManual("validation_problems", SERVICE_REFERENCE_MUST_BE_A_BUILD_SERVICE.toLowerCase(Locale.ROOT)))
                        .severity(Severity.ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy

            problems.size() == 0
    
            where:
            detailsConfig              | expectedDetails | documentationConfig                         | expecteDocumentation
            '.details("long message")' | "long message"  | '.documentedAt("https://docs.example.org")' | 'https://docs.example.org'
            ''                         | null            | ''                                          | null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/ProblemSpec.java

         * @return this
         * @since 8.8
         */
        ProblemSpec contextualLabel(String contextualLabel);
    
        /**
         * Declares where this problem is documented.
         *
         * @return this
         * @since 8.6
         */
        ProblemSpec documentedAt(String url);
    
        /**
         * Declares that this problem is in a file.
         *
         * @param path the file location
         * @return this
         * @since 8.6
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy

            given:
            def problem = problemReporter.create {
                it.id("id", "label", GradleCoreProblemGroup.validation())
                    .documentedAt(new TestDocLink())
                    .lineInFileLocation("location", 1, 1)
            }
    
            when:
            def json = gson.toJson([problem])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

            given:
            withReportProblemTask """
                problems.forNamespace('org.example.plugin').reporting {
                    it.id('type', 'label')
                    .documentedAt("https://example.org/doc")
                }
            """
    
            when:
            run('reportProblem')
    
            then:
            receivedProblem.definition.documentationLink.url == 'https://example.org/doc'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

                            .documentedAt(userManual("validation_problems", "cacheable_transform_cant_use_absolute_sensitivity"))
                            .contextualLabel("is declared to be sensitive to absolute paths")
                            .severity(ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

            }.also { internalReporter.report(it) }
        }
    
        private
        fun ProblemSpec.documentOfProblem(problem: PropertyProblem) {
            problem.documentationSection?.let {
                documentedAt(Documentation.userManual("configuration_cache", it.anchor).toString())
            }
        }
    
        private
        fun ProblemSpec.locationOfProblem(problem: PropertyProblem) {
            val trace = problem.trace.buildLogic()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidateAction.java

                                .contextualLabel("must be annotated either with " + cacheableAnnotation + " or with " + disableCachingAnnotation)
                                .documentedAt(userManual("validation_problems", "disable_caching_by_default"))
                                .severity(WARNING)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top