Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getAllCopyActions (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyFileVisitorImplTest.groovy

            then:
            1 * instantiator.newInstance(DefaultFileCopyDetails.class, dirDetails, specResolver, objectFactory, fileSystem) >> defaultFileCopyDetails
            1 * specResolver.getAllCopyActions() >> []
            1 * action.processFile(defaultFileCopyDetails)
            0 * defaultFileCopyDetails.excluded
        }
    
        def "visit file for actions defined in copy spec"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/CopySpecResolver.java

        FileTree getSource();
    
        /**
         * Returns the source files of this copy spec and all of its children.
         */
        FileTree getAllSource();
    
        Collection<? extends Action<? super FileCopyDetails>> getAllCopyActions();
    
        List<String> getAllIncludes();
    
        List<String> getAllExcludes();
    
        List<Spec<FileTreeElement>> getAllIncludeSpecs();
    
        List<Spec<FileTreeElement>> getAllExcludeSpecs();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:43:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/CopyFileVisitorImpl.java

        }
    
        private void processFile(FileVisitDetails visitDetails) {
            DefaultFileCopyDetails details = createDefaultFileCopyDetails(visitDetails);
            for (Action<? super FileCopyDetails> action : copySpecResolver.getAllCopyActions()) {
                action.execute(details);
                if (details.isExcluded()) {
                    return;
                }
            }
            action.processFile(details);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java

            @Override
            public Collection<? extends Action<? super FileCopyDetails>> getAllCopyActions() {
                if (parentResolver == null) {
                    return copyActions;
                }
                List<Action<? super FileCopyDetails>> allActions = new ArrayList<>();
                allActions.addAll(parentResolver.getAllCopyActions());
                allActions.addAll(copyActions);
                return allActions;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 33.6K bytes
    - Viewed (0)
Back to top