Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for NamedDomainObjectList (0.54 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectList.java

     *
     * @param <T> The type of objects in the list
     */
    public interface NamedDomainObjectList<T> extends NamedDomainObjectCollection<T>, List<T> {
        /**
         * {@inheritDoc}
         */
        @Override
        <S extends T> NamedDomainObjectList<S> withType(Class<S> type);
    
        /**
         * {@inheritDoc}
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:29 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.NamedDomainObjectList.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/collections/DomainObjectCollectionFactory.java

    import org.gradle.api.DomainObjectSet;
    import org.gradle.api.ExtensiblePolymorphicDomainObjectContainer;
    import org.gradle.api.NamedDomainObjectContainer;
    import org.gradle.api.NamedDomainObjectFactory;
    import org.gradle.api.NamedDomainObjectList;
    import org.gradle.api.NamedDomainObjectSet;
    import org.gradle.api.internal.CompositeDomainObjectSet;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/collections.adoc

    ====
    
    [[nameddomainobjectlist]]
    == 3. `NamedDomainObjectList`
    
    A link:{javadocPath}/org/gradle/api/NamedDomainObjectList.html[`NamedDomainObjectList`] holds a list of configurable objects, where each element has a name associated with it.
    
    This is similar to `NamedDomainObjectContainer`, however a `NamedDomainObjectList` doesn't manage the objects in the collection.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectList.java

        }
    
        @Override
        public NamedDomainObjectList<T> named(Spec<String> nameFilter) {
            Spec<T> spec = convertNameToElementFilter(nameFilter);
            return new DefaultNamedDomainObjectList<>(this, nameFilter, createFilter(spec), getInstantiator(), getNamer());
        }
    
        @Override
        public NamedDomainObjectList<T> matching(Closure spec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts

    }
    // end::ndos[]
    
    // tag::ndol[]
    
    abstract class MyPluginExtensionNamedDomainObjectList {
        // Define a named domain object list to hold Person objects
        private val people: NamedDomainObjectList<Person> = project.objects.namedDomainObjectList(Person::class)
    
        // Add a person to the container
        fun addPerson(name: String) {
            people.plus(name)
        }
    }
    // end::ndol[]
    
    // tag::ndoc[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/plugins/IvyPublishPlugin.java

     * limitations under the License.
     */
    
    package org.gradle.api.publish.ivy.plugins;
    
    import org.gradle.api.NamedDomainObjectFactory;
    import org.gradle.api.NamedDomainObjectList;
    import org.gradle.api.NamedDomainObjectSet;
    import org.gradle.api.Plugin;
    import org.gradle.api.Project;
    import org.gradle.api.artifacts.repositories.ArtifactRepository;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/model/InstantiatorBackedObjectFactory.java

            throw new UnsupportedOperationException("This ObjectFactory implementation does not support constructing named domain object sets");
        }
    
        @Override
        public <T> NamedDomainObjectList<T> namedDomainObjectList(Class<T> elementType) {
            throw new UnsupportedOperationException("This ObjectFactory implementation does not support constructing named domain object lists");
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 18:56:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ArtifactRepositoryContainer.java

     * limitations under the License.
     */
    package org.gradle.api.artifacts;
    
    import groovy.lang.Closure;
    import groovy.lang.DelegatesTo;
    import org.gradle.api.Action;
    import org.gradle.api.NamedDomainObjectList;
    import org.gradle.api.artifacts.repositories.ArtifactRepository;
    import org.gradle.util.Configurable;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 06 22:26:55 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/model/DefaultObjectFactory.java

            return domainObjectCollectionFactory.newNamedDomainObjectSet(elementType);
        }
    
        @Override
        public <T> NamedDomainObjectList<T> namedDomainObjectList(Class<T> elementType) {
            return domainObjectCollectionFactory.newNamedDomainObjectList(elementType);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 18:56:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top