Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NodeAtState (0.16 sec)

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

                        }
                    }
                }
            }
    
            public void put(NodeAtState nodeAtState, RuleBinder binder) {
                Map<String, List<RuleBinder>> byState = getByState(nodeAtState.state);
                String path = nodeAtState.path.toString();
                List<RuleBinder> byPath = getByPath(byState, path);
                if (!byPath.contains(binder)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy

            expect:
            bindings.getRulesWithSubject(nodeAtState("a", ModelNode.State.Created)).empty
            bindings.getRulesWithSubject(nodeAtState("a", ModelNode.State.Mutated)) as List == [rule1]
            bindings.getRulesWithSubject(nodeAtState("a", ModelNode.State.DefaultsApplied)) as List == [rule2]
            bindings.getRulesWithSubject(nodeAtState("a", ModelNode.State.Finalized)) as List == [rule3]
        }
    
    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/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

            GoalGraph graph = new GoalGraph();
            transitionTo(graph, graph.nodeAtState(new NodeAtState(path, Registered)));
            ModelNodeInternal node = modelGraph.find(path);
            if (node == null) {
                return null;
            }
            transitionTo(graph, graph.nodeAtState(new NodeAtState(path, GraphClosed)));
            return node;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top