Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for FileCollectionStructureVisitor (0.32 sec)

  1. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/ArtifactCollectionCodec.kt

                // However, currently it is not easy to determine whether this is the case so assume that all transforms
                // have changing inputs
                FileCollectionStructureVisitor.VisitType.NoContents
            } else {
                FileCollectionStructureVisitor.VisitType.Visit
            }
        }
    
        override fun requireArtifactFiles(): Boolean {
            return true
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt

            if (source is TransformedArtifactSet) {
                // Should only be contained in a ResolutionBackedFileCollection
                throw IllegalArgumentException("Found artifact set $source but was not expecting an artifact set")
            } else {
                FileCollectionStructureVisitor.VisitType.Visit
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultLenientConfiguration.java

                }
            }
    
            @Override
            public FileCollectionStructureVisitor.VisitType prepareForVisit(FileCollectionInternal.Source source) {
                if (source instanceof LocalDependencyFiles) {
                    return FileCollectionStructureVisitor.VisitType.NoContents;
                }
                return FileCollectionStructureVisitor.VisitType.Visit;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionBackedFileTree.java

                    visitor.accept(fileTree);
                }
            });
        }
    
        @Override
        protected void visitContents(FileCollectionStructureVisitor visitor) {
            collection.visitStructure(new FileCollectionStructureVisitor() {
                final Set<File> seen = new HashSet<>();
    
                @Override
                public void visitCollection(Source source, Iterable<File> contents) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

         * This is final - override {@link #visitContents(FileCollectionStructureVisitor)} instead to provide the contents.
         */
        @Override
        public final void visitStructure(FileCollectionStructureVisitor visitor) {
            if (visitor.startVisit(OTHER, this)) {
                visitContents(visitor);
            }
        }
    
        protected void visitContents(FileCollectionStructureVisitor visitor) {
            visitor.visitCollection(OTHER, this);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java

         * Visits the structure of this collection, that is, zero or more atomic sources of files.
         *
         * <p>The implementation should call the most specific methods on {@link FileCollectionStructureVisitor} that it is able to.</p>
         */
        void visitStructure(FileCollectionStructureVisitor visitor);
    
        /**
         * Returns the display name of this file collection. Used in log and error messages.
         *
         * @return the display name
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileTreeCodec.kt

    import org.gradle.api.internal.file.FileCollectionBackedFileTree
    import org.gradle.api.internal.file.FileCollectionFactory
    import org.gradle.api.internal.file.FileCollectionInternal
    import org.gradle.api.internal.file.FileCollectionStructureVisitor
    import org.gradle.api.internal.file.FileOperations
    import org.gradle.api.internal.file.FileTreeInternal
    import org.gradle.api.internal.file.FilteredFileTree
    import org.gradle.api.internal.file.archive.TarFileTree
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactSetToFileCollectionFactory.java

    import org.gradle.api.internal.artifacts.ivyservice.TypedResolveException;
    import org.gradle.api.internal.file.FileCollectionInternal;
    import org.gradle.api.internal.file.FileCollectionStructureVisitor;
    import org.gradle.api.internal.tasks.TaskDependencyFactory;
    import org.gradle.api.internal.tasks.TaskDependencyResolveContext;
    import org.gradle.internal.DisplayName;
    import org.gradle.internal.UncheckedException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/EmptyFileCollection.java

            return displayName;
        }
    
        @Override
        public Set<File> getFiles() {
            return ImmutableSet.of();
        }
    
        @Override
        protected void visitContents(FileCollectionStructureVisitor visitor) {
        }
    
        @Override
        public FileTreeInternal getAsFileTree() {
            return new EmptyFileTree(FileTreeInternal.DEFAULT_TREE_DISPLAY_NAME);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/MissingTaskDependencyDetector.java

    package org.gradle.execution.plan;
    
    import org.gradle.api.file.FileTreeElement;
    import org.gradle.api.internal.TaskInternal;
    import org.gradle.api.internal.file.FileCollectionInternal;
    import org.gradle.api.internal.file.FileCollectionStructureVisitor;
    import org.gradle.api.internal.file.FileTreeInternal;
    import org.gradle.api.internal.file.collections.FileSystemMirroringFileTree;
    import org.gradle.api.problems.Severity;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top