Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for inputBindings (0.15 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

                            predicate.getState().previous(),
                            node.getState()
                        ));
                    }
                    maybeFire();
                }
            });
            this.inputBindings = inputBindings(inputReferences, action.getDescriptor(), new Action<ModelBinding>() {
                @Override
                public void execute(ModelBinding modelBinding) {
                    ModelNodeInternal node = modelBinding.getNode();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy

            bindings.add(rule2)
    
            expect:
            bindings.getRulesWithInput(nodeAtState("path", ModelNode.State.Finalized)) as List == [rule1, rule2]
            rule1.inputBindings.every { it.bound }
            rule2.inputBindings.every { it.bound }
        }
    
        def "can replace by-path subject when bound"() {
            def node1 = node("a")
            def node2 = node("a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy

                    binder.subjectBinding.boundTo = new TestNode(subjectReferenceBindingPath, Object)
                }
                boundInputReferencePaths.each { index, path ->
                    binder.inputBindings[index].boundTo = new TestNode(path, Object)
                }
                return binder
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelNodeInternal.java

        }
    
        public void notifyFired(RuleBinder binder) {
            assert binder.isBound() : "RuleBinder must be in a bound state";
            for (ModelBinding inputBinding : binder.getInputBindings()) {
                ModelNodeInternal node = inputBinding.getNode();
                if (dependencies == null) {
                    dependencies = new HashSet<>();
                }
                dependencies.add(node);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top