Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getMatchingStrategy (0.23 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. subprojects/core-api/src/main/java/org/gradle/api/attributes/AttributesSchema.java

         * @return the matching strategy for this attribute.
         * @throws IllegalArgumentException When no strategy is available for the given attribute.
         */
        <T> AttributeMatchingStrategy<T> getMatchingStrategy(Attribute<T> attribute) throws IllegalArgumentException;
    
        /**
         * Declares a new attribute in the schema and configures it with the default strategy.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 07 20:56:10 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. 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