Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for visitDestroyableProperty (0.32 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskDestroyables.java

            });
        }
    
        @Override
        public void visitRegisteredProperties(PropertyVisitor visitor) {
            for (Object registeredPath : registeredPaths) {
                visitor.visitDestroyableProperty(registeredPath);
            }
        }
    
        @Override
        public FileCollection getRegisteredFiles() {
            return fileCollectionFactory.resolving("destroyables", registeredPaths);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java

                isProducer = true;
            }
    
            @Override
            public void visitDestroyableProperty(Object value) {
                isDestroyer = true;
            }
    
            @Override
            public void visitLocalStateProperty(Object value) {
                isProducer = true;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 17.7K bytes
    - Viewed (0)
Back to top