- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for FileCollectionInternal (0.37 sec)
-
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) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionTest.groovy
0 * _ } def "file tree is live"() { def source1 = Mock(FileCollectionInternal) def source2 = Mock(FileCollectionInternal) def dir1 = new File("dir1") def dir2 = new File("dir1") def dir3 = new File("dir1") def source3 = Mock(FileCollectionInternal) def collection = new TestCompositeFileCollection(source1, source2) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.4K bytes - Viewed (0) -
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) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionSpec.groovy
protected void visitChildren(Consumer<FileCollectionInternal> visitor) { visitor.accept(TestFiles.fileCollectionFactory().fixed(files)) } } } def "visits contents on each query"() { def visited = 0; def collection = new TestCollection() { @Override protected void visitChildren(Consumer<FileCollectionInternal> visitor) { visited++
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 12K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionStructureVisitor.java
* * <p>When the file collection contains some other source of files then {@link #prepareForVisit(FileCollectionInternal.Source)} is called for each source in order. */ default boolean startVisit(FileCollectionInternal.Source source, FileCollectionInternal fileCollection) { return true; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/UnionFileCollection.java
formatter.startChildren(); for (FileCollectionInternal files : source) { files.describeContents(formatter); } formatter.endChildren(); } public Set<? extends FileCollection> getSources() { return source; } @Override public FileCollectionInternal replace(FileCollectionInternal original, Supplier<FileCollectionInternal> supplier) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0)