- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getRulesWithInput (0.33 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy
when: addNode(node1) then: bindings.getRulesWithInput(nodeAtState("a", ModelNode.State.Finalized)) as List == [rule] rule.inputBindings[0].boundTo == node1 when: removeNode(node1) then: bindings.getRulesWithInput(nodeAtState("a", ModelNode.State.Finalized)) as List == [] !rule.subjectBinding.bound
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java
return rulesBySubject.get(target); } /** * Returns the set of rules with the given input. */ public Collection<RuleBinder> getRulesWithInput(NodeAtState input) { return rulesByInput.get(input); } private static class Reference { final ModelBinding binding; final NodeAtStateIndex index;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java
this.input = input; } @Override public boolean calculateDependencies(GoalGraph graph, Collection<ModelGoal> dependencies) { for (RuleBinder rule : ruleBindings.getRulesWithInput(input)) { ModelBinding subjectBinding = rule.getSubjectBinding(); if (!subjectBinding.isBound()) { // TODO - implement these cases continue;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 45.7K bytes - Viewed (0)