Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for contextualLabel (0.19 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/ContextualLabel.java

    import org.gradle.api.Incubating;
    
    import javax.annotation.Nullable;
    
    /**
     * Represents a contextual label.
     *
     * @since 8.9
     */
    @Incubating
    public interface ContextualLabel {
    
        /**
         * Returns the contextual description of a problem.
         *
         * @return the contextual label
         * @since 8.9
         */
        @Nullable
        String getContextualLabel();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 10:17:39 UTC 2024
    - 1021 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DefaultContextualLabel.java

    import org.gradle.api.NonNullApi;
    import org.gradle.tooling.events.problems.ContextualLabel;
    
    import javax.annotation.Nullable;
    
    @NonNullApi
    public class DefaultContextualLabel implements ContextualLabel {
    
        private final String contextualLabel;
    
        public DefaultContextualLabel(@Nullable String contextualLabel) {
            this.contextualLabel = contextualLabel;
        }
    
        @Override
        public String getContextualLabel() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:19 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultContextualLabel.java

    public class DefaultContextualLabel implements InternalContextualLabel, Serializable {
    
        private final String contextualLabel;
    
        public DefaultContextualLabel(String contextualLabel) {
            this.contextualLabel = contextualLabel;
        }
    
        @Override
        public String getContextualLabel() {
            return contextualLabel;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:19 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DefaultSingleProblemEvent.java

    import java.util.List;
    
    @NonNullApi
    public class DefaultSingleProblemEvent extends BaseProgressEvent implements SingleProblemEvent {
        private final ProblemDefinition problemDefinition;
        private final ContextualLabel contextualLabel;
        private final Details details;
        private final List<Location> locations;
        private final List<Solution> solutions;
        private final AdditionalData additionalData;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultInternalProblemContextDetails.java

                                                    @Nullable InternalContextualLabel contextualLabel
        ) {
            this.additionalData = additionalData;
            this.details = details;
            this.locations = locations;
            this.solutions = solutions;
            this.failure = failure;
            this.contextualLabel = contextualLabel;
        }
    
        @Override
        public InternalAdditionalData getAdditionalData() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemsServiceIntegTest.groovy

                withProblemsWithStackTraceCount(1)
            }
    
            and:
            verifyAll(receivedProblem(0)) {
                fqid == REGISTRATION_UNSUPPORTED
                contextualLabel == "registration of listener on 'Gradle.buildFinished' is unsupported"
                definition.severity == Severity.WARNING
                definition.documentationLink != null
                locations.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/ide/problems-api-usage/kotlin/reporters/script-plugin/src/main/kotlin/reporters/script.plugin.gradle.kts

    val problems = gradleInternal.services.get(Problems::class.java)
    
    problems.forNamespace("buildscript").reporting {
        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 {
        val warningTask by registering {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

            ])
    
            and:
            if (isProblemsApiCheckEnabled()) {
                verifyAll(receivedProblem(0)) {
                    fqid == 'validation:property-validation:missing-annotation'
                    contextualLabel == 'Type \'MyTask\' property \'badTime\' is missing an input or output annotation'
                    details == 'A property without annotation isn\'t considered during up-to-date checking'
                    solutions == [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultProblem.java

        private final String contextualLabel;
        private final List<String> solutions;
        private final List<ProblemLocation> problemLocations;
        private final String details;
        private final RuntimeException exception;
        private final AdditionalData additionalData;
    
        protected DefaultProblem(
            ProblemDefinition problemDefinition,
            @Nullable String contextualLabel,
            List<String> solutions,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

            and:
            verifyAll(receivedProblem) {
                fqid == 'validation:property-validation:missing-annotation'
                contextualLabel == 'Type \'MyTask\' property \'tree.nonAnnotated\' is missing an input or output annotation'
                details == 'A property without annotation isn\'t considered during up-to-date checking'
                solutions == [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top