Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NamedDomainObjectSchema (0.22 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskCollection.java

                @Override
                public Iterable<? extends NamedDomainObjectSchema> getElements() {
                    return Iterables.concat(
                        Iterables.transform(index.asMap().entrySet(), new Function<Map.Entry<String, T>, NamedDomainObjectSchema>() {
                            @Override
                            public NamedDomainObjectSchema apply(final Map.Entry<String, T> e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectCollectionSchema.java

        /**
         * Returns an iterable of the schemas for each element in the collection.
         */
        Iterable<? extends NamedDomainObjectSchema> getElements();
    
        /**
         * Schema of a named domain object.
         *
         * @since 4.10
         */
        interface NamedDomainObjectSchema {
            /**
             * The name of the domain object.
             */
            String getName();
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 04 05:48:20 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

    private
    fun accessibleContainerSchema(collectionSchema: NamedDomainObjectCollectionSchema) =
        collectionSchema.elements
            .filter { isPublic(it.name) }
            .map(NamedDomainObjectSchema::toFirstKotlinPublicOrSelf)
    
    
    private
    fun NamedDomainObjectSchema.toFirstKotlinPublicOrSelf() =
        publicType.concreteClass.let { schemaType ->
            // Because a public Java class might not correspond necessarily to a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionsSchema.java

        @Override
        Iterable<ExtensionSchema> getElements();
    
        /**
         * Schema of an extension.
         *
         * @since 4.5
         */
        interface ExtensionSchema extends NamedDomainObjectCollectionSchema.NamedDomainObjectSchema {
    
            /**
             * The name of the extension.
             *
             * @return the name of the extension
             */
            @Override
            String getName();
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:20 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectCollection.java

                @Override
                public Iterable<? extends NamedDomainObjectSchema> getElements() {
                    // Simple scheme is to just present the public type of the container
                    return Iterables.transform(getNames(), new Function<String, NamedDomainObjectSchema>() {
                        @Override
                        public NamedDomainObjectSchema apply(final String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top