Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for visitDestroyableProperty (0.28 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/PropertyVisitor.java

        default void visitOutputFileProperty(String propertyName, boolean optional, PropertyValue value, OutputFilePropertyType filePropertyType) {}
    
        default void visitDestroyableProperty(Object value) {}
    
        default void visitLocalStateProperty(Object value) {}
    
        /**
         * Visits a service reference. Service references may or may not be declared with a name.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

                        TaskPropertyUtils.visitProperties(propertyWalker, it, new PropertyVisitor() {
                            @Override
                            void visitDestroyableProperty(Object value) {
                                destroyablePaths << value
                            }
                        })
                        def destroyableFiles = files(destroyablePaths).files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

            1 * visitor.visitOutputFileProperty('bean.outputDir', false, { it.call().path == 'outputDir' }, OutputFilePropertyType.DIRECTORY)
    
            1 * visitor.visitDestroyableProperty({ it.call().path == 'destroyed' })
    
            1 * visitor.visitLocalStateProperty({ it.call().path == 'localState' })
    
            0 * _
        }
    
        static class MyTask extends DefaultTask {
    
            @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top