Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,789 for propertyOf (0.17 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    ** `Property` extends the `Provider` interface.
    ** The method link:{javadocPath}/org/gradle/api/provider/Property.html#set-T-[Property.set(T)] specifies a value for the property, overwriting whatever value may have been present.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/tasks/WriteProperties.java

         *
         * @see #properties(Map)
         * @see #property(String, Object)
         */
        public void setProperties(Map<String, Object> properties) {
            this.properties.clear();
            properties(properties);
        }
    
        /**
         * Adds a property to be written to the properties file.
         * <p>
         * A property's value will be coerced to a <code>String</code> with <code>String#valueOf(Object)</code> or a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        /**
         * Creates a shallow copy of this property. Further changes to this property (via {@code set(...)}, or {@code convention(Object...)}) do not
         * change the copy. However, the copy still reflects changes to the underlying providers that constitute this property. Consider the following snippet:
         * <pre>
         *     def upstream = objects.property(String).value("foo")
         *     def property = objects.property(String).value(upstream)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.get() == someValue()
    
            property.set(someOtherValue())
            property.present
            property.get() == someOtherValue()
        }
    
        def "can use null convention value"() {
            def property = propertyWithNoValue()
            assert property.getOrNull() != someValue()
    
            expect:
            nullConvention(property)
    
            !property.present
            property.getOrNull() == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         */
        @Nonnull
        Map<String, String> getProperties(@Nonnull Project project);
    
        /**
         * Set a given project property.
         *
         * @param project the project to modify
         * @param key they property's key
         * @param value the value or {@code null} to unset the property
         */
        void setProperty(@Nonnull Project project, @Nonnull String key, @Nullable String value);
    
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

     *     of the Java collection this collection property corresponds to</li>
     *     <li>{@link CollectingSupplier}, when the collection is still being added to - in that case,
     *     the collecting supplier will wrap a {@link Collector} that lazily represents the yet-to-be realized contents of the collection - see below for details</li>
     * </ul>
     *
     * <h3>Collectors</h3>
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy

            def property = property()
            property.set(someValue())
            property.set((String) null)
    
            expect:
            !property.present
            property.getOrNull() == null
            property.getOrElse(someValue()) == someValue()
            property.getOrElse(null) == null
        }
    
        def "can't set null provider to discard value"() {
            given:
            def property = property()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/main/resources/crawler_es+crawlerConfig.xml

    		<property name="queueIndex">"fess_crawler.queue"</property>
    		<property name="queueShards">5</property>
    		<property name="queueReplicas">1</property>
    		<property name="dataIndex">"fess_crawler.data"</property>
    		<property name="dataShards">5</property>
    		<property name="dataReplicas">1</property>
    		<property name="filterIndex">"fess_crawler.filter"</property>
    		<property name="filterShards">5</property>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Dec 03 13:06:40 UTC 2021
    - 756 bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/model/DefaultObjectFactoryTest.groovy

        }
    
        def "list property has empty list as value"() {
            expect:
            def property = factory.listProperty(String)
            property.present
            property.get().empty
        }
    
        def "can create list property with primitive type"() {
            given:
            def property = factory.listProperty(type)
    
            expect:
            property.elementType == boxedType
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 16:04:05 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            then:
            !property.isFinalized()
    
            when:
            property.finalizeValue()
    
            then:
            property.isFinalized()
        }
    
        def "finalization checking works with providers"() {
            given:
            def property = propertyWithValue(someValue())
    
            expect:
            property.isPresent()
            !property.isFinalized()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top