Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for subjectReference (0.28 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy

            private ModelRuleDescriptor descriptor
            private BindingPredicate subjectReference
            private String subjectReferenceBindingPath
            private List<BindingPredicate> inputReferences = []
            private Map<Integer, String> boundInputReferencePaths = [:]
    
            void subjectReference(ModelReference<?> reference) {
                subjectReference = new BindingPredicate(reference)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy

            )
        }
    
        def "creates unbound rules for multiple binders"() {
            binder {
                descriptor("firstRule")
                subjectReference("path.subject.first", String)
            }
            binder {
                descriptor("secondRule")
                subjectReference("path.subject.second", Number)
            }
    
            expect:
            reportForProcessedBinders == reportFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DirectNodeNoInputsModelAction.java

        private final BiAction<? super MutableModelNode, ? super T> action;
    
        private DirectNodeNoInputsModelAction(ModelReference<T> subjectReference, ModelRuleDescriptor descriptor, BiAction<? super MutableModelNode, ? super T> action) {
            super(subjectReference, descriptor, Collections.<ModelReference<?>>emptyList());
            this.action = action;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/UnmanagedModelCreationRuleExtractor.java

                ModelRuleDescriptor descriptor = ruleDefinition.getDescriptor();
                ModelReference<Object> subjectReference = ModelReference.of(modelPath);
                registration.action(ModelActionRole.Create,
                        context.contextualize(new UnmanagedElementCreationAction<R>(descriptor, subjectReference, inputs, modelType)));
                registration.withProjection(new UnmanagedModelProjection<R>(modelType));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

        private final List<ModelBinding> inputBindings;
    
        public RuleBinder(BindingPredicate subjectReference, List<BindingPredicate> inputReferences, ModelAction action, Collection<RuleBinder> binders) {
            this.action = action;
            this.inputReferences = inputReferences;
            this.binders = binders;
            this.subjectBinding = binding(subjectReference, action.getDescriptor(), true, new Action<ModelBinding>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top