Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NodeAtState (0.2 sec)

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

    package org.gradle.model.internal.registry;
    
    import org.gradle.model.internal.core.ModelNode;
    import org.gradle.model.internal.core.ModelPath;
    
    class NodeAtState implements Comparable<NodeAtState> {
        public final ModelPath path;
        public final ModelNode.State state;
    
        public NodeAtState(ModelPath path, ModelNode.State state) {
            this.path = path;
            this.state = state;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.model.internal.registry.NodeAtState> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (NodeAtState.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top