Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SETTER (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                    if (property.setMethods.isEmpty()) {
                        Set<Class<?>> appliedTo = new HashSet<>();
                        for (Method setter : property.setters) {
                            if (appliedTo.add(setter.getParameterTypes()[0])) {
                                visitor.addSetMethod(property, setter);
                            }
                        }
                    } else if (extensibleTypeHandler.conventionProperties.contains(property)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters_test.go

    				// but we may choose to sort in the setter at some future point
    				// (e.g. if the image cache stopped sorting for us)
    				sort.Sort(sliceutils.ByImageSize(tc.imageList))
    				return tc.imageList, tc.imageListError
    			}
    			// construct setter
    			setter := Images(tc.maxImages, imageListFunc)
    			// call setter on node
    			node := &v1.Node{}
    			err := setter(ctx, node)
    			require.Equal(t, tc.expectError, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            // but all user-facing interfaces and their implementations do.
            property."$setter"(providerWithSideEffect)
    
            property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            property.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when calling setter or calculated values are not unpacked
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    Lazy property assignment reduces the verbosity for Kotlin DSL when <<lazy_configuration#lazy_properties,lazy properties>> are used.
    It works for properties that are publicly seen as `final` (without a setter) and have type `Property` or `ConfigurableFileCollection`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/Project.java

     * <code>rootProject</code> property.  The properties of this scope are readable or writable depending on the presence
     * of the corresponding getter or setter method.</li>
     *
     * <li>The extra properties of the project.  Each project maintains a map of extra properties, which
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    The old convention object defines the `distsDirName`, `libsDirName` and `archivesBaseName` properties with simple getter and setter methods.
    Those methods are available in the extension only to maintain backwards compatibility.
    Build scripts should solely use the properties of type `Property`:
    
    ====
    [.multi-language-sample]
    =====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top