- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for CompatibilityRule (0.19 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/CompatibilityRule.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.internal.attributes; import org.gradle.api.Action; public interface CompatibilityRule<T> extends Action<CompatibilityCheckResult<T>> { boolean doesSomething();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 807 bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributePrecedenceSchemaAttributeMatcherTest.groovy
compatibilityRules.add(CompatibilityRule) disambiguationRules.add(DisambiguationRule) } schema.attribute(middle).with { compatibilityRules.add(CompatibilityRule) disambiguationRules.add(DisambiguationRule) } schema.attribute(lowest).with { compatibilityRules.add(CompatibilityRule) disambiguationRules.add(DisambiguationRule)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/EmptySchema.java
private final DoNothingCompatibilityRule compatibilityRule = new DoNothingCompatibilityRule(); private final DoNothingDisambiguationRule disambiguationRule = new DoNothingDisambiguationRule(); protected EmptySchema() { } @Override public CompatibilityRule<Object> compatibilityRules(Attribute<?> attribute) { return compatibilityRule; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultCompatibilityRuleChainTest.groovy
class DefaultCompatibilityRuleChainTest extends Specification { def ruleChain = new DefaultCompatibilityRuleChain(TestUtil.instantiatorFactory().inject(), SnapshotTestUtil.isolatableFactory()) static class CompatibilityRule implements AttributeCompatibilityRule<String> { @Override void execute(CompatibilityCheckDetails<String> details) { assert details.consumerValue == "value1"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/TargetJvmVersionRulesTest.groovy
import org.gradle.api.attributes.AttributesSchema import org.gradle.api.attributes.java.TargetJvmVersion import org.gradle.api.internal.attributes.CompatibilityCheckResult import org.gradle.api.internal.attributes.CompatibilityRule import org.gradle.api.internal.attributes.DefaultAttributesSchema import org.gradle.api.internal.attributes.DisambiguationRule import org.gradle.api.internal.attributes.MultipleCandidatesResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 03 17:43:36 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/AttributesSchemaInternal.java
/** * Returns a matcher that uses the rules from this schema, and assumes the producer has the same rules. */ AttributeMatcher matcher(); CompatibilityRule<Object> compatibilityRules(Attribute<?> attribute); DisambiguationRule<Object> disambiguationRules(Attribute<?> attribute); @Nullable Attribute<?> getAttributeByName(String name); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultCompatibilityRuleChain.java
import org.gradle.model.internal.type.ModelType; import java.util.ArrayList; import java.util.Comparator; import java.util.List; public class DefaultCompatibilityRuleChain<T> implements CompatibilityRuleChain<T>, CompatibilityRule<T> { private final List<Action<? super CompatibilityCheckDetails<T>>> rules = new ArrayList<>(); private final Instantiator instantiator; private final IsolatableFactory isolatableFactory;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.9K bytes - Viewed (0)