Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 66 of 66 for ModelReference (0.36 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/UnmanagedNodeBackedModelMapTest.groovy

        Class<SpecialNamedThing> specialItemClass = SpecialNamedThing
    
        def setup() {
            registry.register(
                ModelRegistrations.bridgedInstance(
                    ModelReference.of(path, new ModelType<NamedEntityInstantiator<NamedThing>>() {}),
                    { name, type -> DirectInstantiator.instantiate(type, name) } as NamedEntityInstantiator
                )
                    .descriptor(path.toString())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            when:
            registry.configure(targetRole, ModelReference.of("thing", Bean), Actions.doNothing())
    
            then:
            def ex = thrown IllegalStateException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

            ModelPath binaryPath = backingNode.getPath().child(name);
            backingNode.applyToLink(ModelActionRole.Defaults, DirectNodeNoInputsModelAction.of(
                ModelReference.of(binaryPath, NativeBinarySpec.class),
                new SimpleModelRuleDescriptor("initialize binary " + binaryPath),
                new BiAction<MutableModelNode, NativeBinarySpec>() {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

            ModelTypes.modelMap(itemType)
        }
    
        void mutate(@DelegatesTo(ModelMap) Closure<?> action) {
            registry.mutate(ModelReference.of(path, modelMapType), ClosureBackedAction.of(action))
        }
    
        void mutateWithoutDelegation(Action<ModelMap<T>> action) {
            registry.mutate(ModelReference.of(path, modelMapType), action)
        }
    
        void realize() {
            registry.realizeNode(path)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

                .unmanagedInstance(ModelReference.of(path, type), factory)
                .descriptor(instanceDescriptorFor(path))
                .hidden(true)
                .build());
        }
    
        private <T> void registerServiceOn(ModelRegistry modelRegistry, String path, ModelType<T> type, T instance, String descriptor) {
            modelRegistry.register(ModelRegistrations.serviceInstance(ModelReference.of(path, type), instance)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.model.internal.core.ModelReference> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelReference.java:0)
    Class <org.gradle.model.internal.core.ModelRegistration> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelRegistration.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