Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for ModelPath (0.11 sec)

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

        private final Iterable<? extends RuleBinder> binders;
        private final Transformer<? extends Collection<? extends ModelPath>, ? super ModelPath> suggestionsProvider;
    
        public UnboundRulesProcessor(Iterable<? extends RuleBinder> binders, Transformer<? extends Collection<? extends ModelPath>, ? super ModelPath> suggestionsProvider) {
            this.binders = binders;
            this.suggestionsProvider = suggestionsProvider;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelActionBuilder.java

            return action(modelPath, inputType, inputType.toString(), action);
        }
    
        public <I> ModelAction action(String modelPath, ModelType<I> inputType, BiAction<? super T, ? super I> action) {
            return action(modelPath, inputType, modelPath, action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/UnmanagedModelCreationRuleExtractor.java

            return super.isSatisfiedBy(element) && !isVoidMethod(element);
        }
    
        @Override
        protected <R, S> ExtractedModelRule buildRule(ModelPath modelPath, MethodRuleDefinition<R, S> ruleDefinition) {
            return new ExtractedUnmanagedCreationRule<R, S>(modelPath, ruleDefinition);
        }
    
        @Override
        public String getDescription() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelGraph.java

        }
    
        private final ModelNodeInternal root;
        private final Map<ModelPath, ModelNodeInternal> flattened = new TreeMap<>();
        private final SetMultimap<ModelPath, ModelListener> pathListeners = LinkedHashMultimap.create();
        private final SetMultimap<ModelPath, ModelListener> parentListeners = LinkedHashMultimap.create();
        private final SetMultimap<ModelPath, ModelListener> ancestorListeners = LinkedHashMultimap.create();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/AbstractModelCreationRuleExtractor.java

        }
    
        protected abstract <R, S> ExtractedModelRule buildRule(ModelPath modelPath, MethodRuleDefinition<R, S> ruleDefinition);
    
        protected static abstract class ExtractedCreationRule<R, S>  extends AbstractExtractedModelRule {
            protected final ModelPath modelPath;
            private final boolean hidden;
    
            public ExtractedCreationRule(ModelPath modelPath, MethodRuleDefinition<R, S> ruleDefinition) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodePredicate.java

                @Override
                protected ModelSpec scope(ModelPath scope, Predicate<? super MutableModelNode> matcher) {
                    return parent.scope(scope, matcher);
                }
            };
        }
    
        private static class BasicPredicate extends ModelSpec {
            private final ModelPath path;
            private final ModelPath parent;
            private final ModelPath ancestor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelReferenceTest.groovy

        }
    
        def "can replace path"() {
            expect:
            def reference = ModelReference.of(ModelPath.path("some.path"), ModelType.of(String), ModelNode.State.Mutated).withPath(ModelPath.path("other.path"))
            reference.scope == null
            reference.path == ModelPath.path("other.path")
            reference.type == ModelType.of(String)
            !reference.untyped
            reference.state == ModelNode.State.Mutated
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

                }
            }
        }
    
        private class TypePredicateIndex {
            final Map<ModelPath, ScopeIndex> scopes = new LinkedHashMap<>();
    
            public void addNodeToScope(ModelPath path, ModelNodeInternal node) {
                scopeForPath(path).addNode(node);
            }
    
            public void removeNodeFromScope(ModelPath path, ModelNodeInternal node) {
                scopeForPath(path).removeNode(node);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/RuleExtractorUtils.java

            }
        }
    
        private static class NonReferenceDescendantsSpec extends ModelSpec {
            private final ModelPath scope;
    
            private NonReferenceDescendantsSpec(ModelPath scope) {
                this.scope = scope;
            }
    
            @Nullable
            @Override
            public ModelPath getAncestor() {
                return scope;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelRegistry.java

         * @param state the desired node state
         * @return the node at the desired state
         */
        ModelNode atStateOrLater(ModelPath path, ModelNode.State state);
        <T> T atStateOrLater(ModelPath path, ModelType<T> type, ModelNode.State state);
    
        ModelNode.State state(ModelPath path);
    
        void remove(ModelPath path);
    
        /**
         * Attempts to bind the references of all model rules known at this point in time.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top