Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for publicType (0.14 sec)

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

            this.publicType = publicType;
            this.elementType = elementType;
            this.viewImpl = viewImpl;
            this.creatorStrategyAccessor = creatorStrategyAccessor;
        }
    
        @Override
        public Iterable<String> getTypeDescriptions(MutableModelNode node) {
            return Collections.singleton(publicType.toString());
        }
    
        @Nullable
        @Override
    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. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionContainer.java

         *
         * The extension will be exposed as {@code publicType}.
         *
         * @param publicType The extension public type
         * @param name The name for the extension
         * @param extension Any object implementing {@code publicType}
         * @throws IllegalArgumentException When an extension with the given name already exists.
         * @since 3.5
         */
        <T> void add(Class<T> publicType, String name, T extension);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:20 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GenerateVersionCatalogAccessors.kt

            VersionCatalogAccessor(
                it.name,
                it.publicType,
                ExtensionSpec(it.name, scriptHandlerScopeTypeSpec, TypeSpec(it.publicType.simpleName, it.publicType.concreteClass.internalName)),
                ExtensionSpec(it.name, pluginDependenciesSpecScopeTypeSpec, TypeSpec(pluginsBlockFactorySourceNameFor(it.publicType), pluginsBlockFactoryInternalNameFor(it.publicType))),
            )
        }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ExtensionsStorage.java

            private final String name;
            private final TypeOf<T> publicType;
            protected final T extension;
    
            private ExtensionHolder(String name, TypeOf<T> publicType, T extension) {
                this.name = name;
                this.publicType = publicType;
                this.extension = extension;
            }
    
            @Override
            public String getName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/main/java/org/gradle/platform/base/component/internal/ComponentSpecFactory.java

                @Override
                public <T extends DefaultComponentSpec> T create(ModelType<? extends ComponentSpec> publicType, ModelType<T> implementationType, String name, MutableModelNode componentNode) {
                    ComponentSpecIdentifier id = getId(findOwner(componentNode), name);
                    return DefaultComponentSpec.create(publicType.getConcreteClass(), implementationType.getConcreteClass(), id, componentNode);
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/MixInExtensibleDynamicObject.java

        // Used by generated code
        public MixInExtensibleDynamicObject(Object decoratedObject, Class<?> publicType, @Nullable DynamicObject selfProvidedDynamicObject, ServiceLookup services) {
            super(decoratedObject, wrap(decoratedObject, publicType, selfProvidedDynamicObject), instantiator(services));
        }
    
        private static InstanceGenerator instantiator(ServiceLookup services) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelMapModelProjection.java

        }
    
        public static <T> ModelProjection managed(ModelType<?> publicType, ModelType<T> itemType, ChildNodeInitializerStrategyAccessor<? super T> creatorStrategyAccessor) {
            return new ModelMapModelProjection<T>(publicType, itemType, true, creatorStrategyAccessor);
        }
    
        private final ModelType<?> publicType;
        private final ModelType<I> baseItemModelType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/testFixtures/groovy/org/gradle/test/fixtures/BaseInstanceFixtureSupport.groovy

        static <B, T extends B, I extends B> T create(Class<T> publicType, Class<? extends B> internalView, Class<I> implType,
                                                      String name, Closure<I> createUnmanagedInstance) {
            def node = createNode(publicType, internalView, implType, name, createUnmanagedInstance)
            return node.asMutable(ModelType.of(publicType), new SimpleModelRuleDescriptor("<get $name>")).instance
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/main/java/org/gradle/platform/base/binary/BaseBinarySpec.java

                }
            } finally {
                NEXT_BINARY_INFO.set(null);
            }
        }
    
        public BaseBinarySpec() {
            this(NEXT_BINARY_INFO.get());
        }
    
        private BaseBinarySpec(BinaryInfo info) {
            super(validate(info).componentId, info.publicType);
            this.publicType = info.publicType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/testFixtures/groovy/org/gradle/language/base/sources/BaseLanguageSourceSetFixtures.groovy

    class BaseLanguageSourceSetFixtures {
        static <T extends LanguageSourceSet> T create(Class<T> publicType, Class<? extends BaseLanguageSourceSet> implType, String name) {
            return BaseInstanceFixtureSupport.create(publicType, LanguageSourceSetInternal, implType, name) { MutableModelNode node ->
                BaseLanguageSourceSet.create(publicType, implType, new DefaultComponentSpecIdentifier("project", name), TestUtil.objectFactory())
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top