Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for FileCollectionInternal (0.43 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java

         *
         * This is used to deal with the case where a mutable collection may be added to itself. This is intended to become an error at some point.
         */
        FileCollectionInternal replace(FileCollectionInternal original, Supplier<FileCollectionInternal> supplier);
    
        /**
         * Visits the structure of this collection, that is, zero or more atomic sources of files.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionFactory.java

         */
        FileCollectionInternal create(MinimalFileSet contents, Consumer<? super TaskDependencyResolveContext> visitTaskDependencies);
    
        /**
         * Creates an empty {@link FileCollection}
         */
        static FileCollectionInternal empty(String displayName) {
            if (FileCollectionInternal.DEFAULT_COLLECTION_DISPLAY_NAME.equals(displayName)) {
                return empty();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

            FileCollectionInternal fileCollection = Cast.castNullable(FileCollectionInternal.class, Cast.castNullable(FileCollection.class, object));
    
            // Don't allow a += b or a = (a + b), this is not support
            fileCollection.visitStructure(new FileCollectionStructureVisitor() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt

        private val artifactSetConverter: ArtifactSetToFileCollectionFactory
    ) : Codec<FileCollectionInternal> {
    
        override suspend fun WriteContext.encode(value: FileCollectionInternal) {
            encodePreservingIdentityOf(value) {
                encodeContents(value)
            }
        }
    
        suspend fun WriteContext.encodeContents(value: FileCollectionInternal) {
            val executionTimeValue = value.calculateExecutionTimeValue().getOrNull()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FilteredFileCollection.java

            this.collection = collection;
            this.filterSpec = filterSpec;
        }
    
        @Override
        public FileCollectionInternal replace(FileCollectionInternal original, Supplier<FileCollectionInternal> supplier) {
            AbstractFileCollection newCollection = (AbstractFileCollection) collection.replace(original, supplier);
            if (newCollection == collection) {
                return this;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 08:16:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/UnpackingVisitor.java

        public UnpackingVisitor(Consumer<FileCollectionInternal> visitor, PathToFileResolver resolver, TaskDependencyFactory taskDependencyFactory, Factory<PatternSet> patternSetFactory) {
            this(visitor, resolver, taskDependencyFactory, patternSetFactory, ProviderResolutionStrategy.REQUIRE_PRESENT, true);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/LazilyInitializedFileCollection.java

            super(taskDependencyFactory);
        }
    
        private FileCollectionInternal delegate;
    
        @Override
        protected void visitChildren(Consumer<FileCollectionInternal> visitor) {
            if (delegate == null) {
                delegate = (FileCollectionInternal) createDelegate();
            }
            visitor.accept(delegate);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java

            if (sources instanceof FileCollectionInternal) {
                return (FileCollectionInternal) sources;
            }
            if (isEmptyArray(sources)) {
                return FileCollectionFactory.empty();
            }
            return resolving(FileCollectionInternal.DEFAULT_COLLECTION_DISPLAY_NAME, providerResolutionStrategy, sources);
        }
    
        @Override
        public FileCollectionInternal fixed(File... files) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 18:57:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/CachingDependencyResolveContext.java

        private class DependencyGraph implements DirectedGraph<Object, FileCollectionInternal> {
            @Override
            public void getNodeValues(Object node, Collection<? super FileCollectionInternal> values, Collection<? super Object> connectedNodes) {
                if (node instanceof FileCollectionInternal) {
                    FileCollectionInternal fileCollection = (FileCollectionInternal) node;
                    values.add(fileCollection);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/CachingDependencyResolveContextTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.artifacts
    
    import org.gradle.api.internal.file.FileCollectionInternal
    import org.gradle.api.internal.file.TestFiles
    import org.gradle.api.internal.file.UnionFileCollection
    import spock.lang.Specification
    
    @SuppressWarnings("deprecation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top