Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for disallowUnsafeRead (0.67 sec)

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

         * the value may be read. The property is also finalized on read.
         *
         * @since 6.4
         */
        void disallowUnsafeRead();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 05 16:10:02 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileSystemPropertySpec.groovy

            def task = Stub(Task)
            def prop = propertyWithNoValue()
            def location = prop.locationOnly
            prop.fileValue(file)
            prop.attachProducer(owner(task))
            prop.disallowUnsafeRead()
    
            when:
            def result = location.present
    
            then:
            result
            1 * host.beforeRead(null) >> null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

            where:
            description            | propertyConfig
            "default behaviour"    | ""
            "finalize on read"     | "it.finalizeValueOnRead()"
            "disallow unsafe read" | "it.disallowUnsafeRead()"
        }
    
        def "task input collection property can consume the mapped output of another task"() {
            taskTypeWithInputFileProperty()
            taskTypeWithInputListProperty()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top