- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for withProgressLogging (0.25 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessorTest.groovy
then: result == null and: 1 * index.lookup("thing") >> null 1 * localCandidates.isNone() >> true 1 * repository.withProgressLogging() >> progressLoggingRepo 1 * progressLoggingRepo.resource(location) >> resource 1 * resource.withContentIfPresent(_) >> null 0 * _._ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 02 17:19:47 UTC 2024 - 19.1K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceRepository.java
*/ public interface ExternalResourceRepository { /** * Returns a copy of this repository with progress logging enabled. */ ExternalResourceRepository withProgressLogging(); /** * Returns the resource with the given name. Note that this method does not access the resource in any way, it simply creates an object that can. To access the resource, use the methods on the returned object.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/local/FileResourceConnector.java
this.fileSystem = fileSystem; this.listener = listenerManager.getBroadcaster(FileResourceListener.class); } @Override public ExternalResourceRepository withProgressLogging() { return this; } @Override public LocalBinaryResource localResource(File file) { return new LocalFileStandInExternalResource(file, fileSystem, listener); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DistributionInstaller.java
Throwable failure = null; long bytesDownloaded = 0; try { bytesDownloaded = withProgressLogging(address, destination, descriptor); } catch (Throwable t) { failure = t; } long endTime = clock.getCurrentTime();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/install/internal/SecureFileDownloaderTest.groovy
getRepository() >> Mock(ExternalResourceRepository) { withProgressLogging() >> Mock(ExternalResourceRepository) { resource(_ as ExternalResourceName) >> Mock(ExternalResource) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transport/DefaultExternalResourceRepository.java
) { this.name = name; this.accessor = accessor; this.uploader = uploader; this.lister = lister; } @Override public ExternalResourceRepository withProgressLogging() { return this; } @Override public ExternalResource resource(ExternalResourceName resource, boolean revalidate) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java
if (cached == null && (additionalCandidates == null || additionalCandidates.isNone())) { return copyToCache(location, fileStore, delegate.withProgressLogging().resource(location)); } // We might be able to use a cached/locally available version
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/SecureFileDownloader.java
@Override public String getShortDisplayName() { return source.toString(); } }; return getTransport(source, authentications).getRepository().withProgressLogging().resource(resourceName); } private void downloadResource(URI source, File targetFile, ExternalResource resource) { final File downloadFile = new File(targetFile.getAbsoluteFile() + ".part");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/AbstractMavenPublisher.java
ModuleArtifactPublisher(ExternalResourceRepository repository, boolean localRepo, URI rootUri, String groupId, String artifactId, String moduleVersion) { this.repository = repository.withProgressLogging(); this.localRepo = localRepo; this.rootUri = rootUri; this.groupPath = groupId.replace('.', '/'); this.artifactId = artifactId;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 12:20:56 UTC 2024 - 15.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ExternalResourceResolver.java
put(src, destination); LOGGER.info("Published {} to {}", artifact, destination); } private void put(File src, ExternalResourceName destination) { repository.withProgressLogging().resource(destination).put(new FileReadableContent(src)); publishChecksums(destination, src); } private void publishChecksums(ExternalResourceName destination, File content) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 25.9K bytes - Viewed (0)