Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NamedDomainObjectList (0.34 sec)

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

         * @param <T> The type of objects for the domain object set to contain.
         * @return The domain object list.
         * @since 6.1
         */
        <T> NamedDomainObjectList<T> namedDomainObjectList(Class<T> elementType);
    
        /**
         * Creates a {@link Property} implementation to hold values of the given type. The property has no initial value.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

            """
    
            expect:
            succeeds()
        }
    
        def "plugin can create a NamedDomainObjectList instance that uses a named managed type"() {
            given:
            buildFile """
                interface NamedThing extends Named { }
    
                def container = project.objects.namedDomainObjectList(NamedThing)
                assert container != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top