Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getManagedSubtypeImplementationInfo (0.36 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/typeregistration/BaseInstanceFactoryTest.groovy

                ModelType.of(ThingSpecInternal),
            ] as Set)
            instanceFactory.getManagedSubtypeImplementationInfo(ModelType.of(ManagedThingSpec)).internalViews == ([
                ModelType.of(ThingSpecInternal),
                ModelType.of(ManagedThingSpecInternal)
            ] as Set)
            instanceFactory.getManagedSubtypeImplementationInfo(ModelType.of(ChildManagedThingSpec)).internalViews == ([
                ModelType.of(ThingSpecInternal),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/InstanceFactory.java

        /**
         * Return information about the implementation of a managed type with an unmanaged super-type.
         */
        <S extends T> ImplementationInfo getManagedSubtypeImplementationInfo(ModelType<S> publicType);
    
        interface ImplementationInfo {
            /**
             * Creates an instance of the delegate for the given node.
             */
            Object create(MutableModelNode modelNode);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/FactoryBasedStructNodeInitializerExtractionStrategy.java

            ModelType<S> publicType = schema.getType();
            return schema instanceof ManagedImplSchema
                ? instanceFactory.getManagedSubtypeImplementationInfo(publicType)
                : instanceFactory.getImplementationInfo(publicType);
        }
    
        @Override
        public Iterable<ModelType<?>> supportedTypes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java

            }
            return new ImplementationInfoImpl<S>(publicType, implementationRegistration, getInternalViews(publicType));
        }
    
        @Override
        public <S extends PUBLIC> ImplementationInfo getManagedSubtypeImplementationInfo(final ModelType<S> publicType) {
            if (!isManaged(publicType)) {
                throw new IllegalArgumentException(String.format("Type '%s' is not managed", publicType));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top