Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getMatchingStrategy (0.32 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            schema.attribute(Attribute.of('a', Flavor))
    
            when:
            schema.getMatchingStrategy(Attribute.of('someOther', Flavor))
    
            then:
            def e = thrown(IllegalArgumentException)
            e.message == 'Unable to find matching strategy for someOther'
    
            when:
            schema.getMatchingStrategy(Attribute.of('picard', Flavor))
    
            then:
            e = thrown(IllegalArgumentException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/model/ConfigurationReportModelFactory.java

                    .collect(Collectors.toList());
            }
    
            private boolean hasCompatibilityRules(Attribute<?> attribute) {
                final AttributeMatchingStrategy<?> matchingStrategy = attributesSchema.getMatchingStrategy(attribute);
                final DefaultCompatibilityRuleChain<?> ruleChain = (DefaultCompatibilityRuleChain<?>) matchingStrategy.getCompatibilityRules();
                return ruleChain.doesSomething();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/EmptySchema.java

        }
    
        @Override
        public void addConsumerDescriber(AttributeDescriber describer) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> AttributeMatchingStrategy<T> getMatchingStrategy(Attribute<T> attribute) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public AttributeMatcher matcher() {
            throw new UnsupportedOperationException();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultAttributesSchema.java

            this.failureDescriberRegistry = ResolutionFailureDescriberRegistry.emptyRegistry(instanceGenerator);
        }
    
        @Override
        public <T> AttributeMatchingStrategy<T> getMatchingStrategy(Attribute<T> attribute) {
            AttributeMatchingStrategy<?> strategy = strategies.get(attribute);
            if (strategy == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 16:59:54 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.attributes.AttributesSchema.getAttributes()> does not have raw return type assignable to org.gradle.api.provider.Provider in (AttributesSchema.java:0)
    Method <org.gradle.api.attributes.AttributesSchema.getMatchingStrategy(org.gradle.api.attributes.Attribute)> does not have raw return type assignable to org.gradle.api.provider.Provider in (AttributesSchema.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
Back to top