Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for contextualLabel (0.39 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

            ])
    
            and:
            verifyAll(receivedProblem(0)) {
                fqid == 'validation:property-validation:unsupported-value-type-for-input'
                contextualLabel == 'Type \'MyTask\' property \'direct\' has @Input annotation used on type \'java.net.URL\' or a property of this type'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultProblemDetails.java

            @Nullable InternalContextualLabel contextualLabel,
            List<InternalLocation> locations,
            List<InternalSolution> solutions,
            InternalAdditionalData additionalData,
            @Nullable InternalFailure failure
        ) {
            this.definition = definition;
            this.details = details;
            this.contextualLabel = contextualLabel;
            this.locations = locations;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy

                fqid == 'deprecation:init-script'
                contextualLabel == 'Init script has been deprecated.'
            }
            verifyAll(receivedProblem(3)) {
                fqid == 'deprecation:plugin'
                contextualLabel == 'Plugin has been deprecated.'
            }
            verifyAll(receivedProblem(4)) {
                fqid == 'deprecation:plugin-script'
                contextualLabel == 'Plugin script has been deprecated.'
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/ide/problems-api-usage/groovy/reporters/script-plugin/src/main/groovy/reporters.script.plugin.gradle

    def gradleInternal = gradle as GradleInternal
    def problems = gradleInternal.services.get(Problems)
    
    problems.forNamespace('buildscript').reporting {
        it.id('adhoc-script-deprecation', 'Deprecated script plugin')
            .contextualLabel("Deprecated script plugin 'demo-script-plugin'")
            .severity(Severity.WARNING)
            .solution("Please use 'standard-plugin-2' instead of this plugin")
    }
    
    tasks.register('warningTask') {
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementDslSpec.groovy

            includesLinkToUserguide()
    
            and:
            verifyAll(receivedProblem) {
                fqid == 'compilation:groovy-dsl:compilation-failed'
                contextualLabel == "Could not compile build file '${buildFile.absolutePath}'."
            }
        }
    
        def "pluginManagement block is not supported in InitScripts"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java

                    .forProperty(propertyName)
                    .id(TextUtil.screamingSnakeToKebabCase(INPUT_FILE_DOES_NOT_EXIST), "Input file does not exist", GradleCoreProblemGroup.validation().property())
                    .contextualLabel("specifies " + lowerKind + " '" + input + "' which doesn't exist")
                    .documentedAt(userManual("validation_problems", INPUT_FILE_DOES_NOT_EXIST.toLowerCase()))
                    .severity(Severity.ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultProblemBuilder.java

                return Severity.WARNING;
            }
            return this.severity;
        }
    
        @Override
        public InternalProblemBuilder contextualLabel(String contextualLabel) {
            this.contextualLabel = contextualLabel;
            return this;
        }
    
        @Override
        public InternalProblemBuilder severity(Severity severity) {
            this.severity = severity;
            return this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/validation/DelegatingProblemBuilder.java

            return validateDelegate(delegate).id(name, displayName, parent);
        }
    
        @Override
        public InternalProblemBuilder contextualLabel(String contextualLabel) {
            return validateDelegate(delegate).contextualLabel(contextualLabel);
        }
    
        @Override
        public InternalProblemBuilder documentedAt(DocLink doc) {
            return validateDelegate(delegate.documentedAt(doc));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/catalog/problems/DefaultCatalogProblemBuilder.java

        }
    
        public static String getProblemString(Problem problem) {
            ProblemDefinition definition = problem.getDefinition();
            String contextualLabel = problem.getContextualLabel();
            String renderedLabel = contextualLabel == null ? definition.getId().getDisplayName() : contextualLabel;
            return getProblemString(renderedLabel, problem.getDetails(), problem.getSolutions(), definition.getDocumentationLink());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputPropertyAnnotationHandler.java

                        .id(TextUtil.screamingSnakeToKebabCase(CANNOT_USE_OPTIONAL_ON_PRIMITIVE_TYPES), "Property should be annotated with @Optional", GradleCoreProblemGroup.validation().property())
                        .contextualLabel(String.format("of type %s shouldn't be annotated with @Optional", valueType.getName()))
                        .documentedAt(userManual(VALIDATION_PROBLEMS, CANNOT_USE_OPTIONAL_ON_PRIMITIVE_TYPES.toLowerCase(Locale.ROOT)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top