Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 97 for getURI (0.3 sec)

  1. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Resource.groovy

            this.bucket = bucket
            this.server = server
            this.file = file
        }
    
        String getPath() {
            return repositoryPath
        }
    
        @Override
        URI getUri() {
            return new URI("s3:/${relativeFilePath()}")
        }
    
        @Override
        void expectDownload() {
            server.stubGetFile(file, relativeFilePath())
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsResource.groovy

            this.bucket = bucket
            this.server = server
            this.file = file
        }
    
        String getPath() {
            return repositoryPath
        }
    
        @Override
        URI getUri() {
            return new URI("gcs:/${relativeFilePath()}")
        }
    
        @Override
        void expectDownload() {
            server.stubGetFile(file, relativeFilePath())
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3DirectoryResource.groovy

            this.server = server
            def directoryUri = directory.toURI().toString()
            this.path = directoryUri.substring(directoryUri.indexOf(bucket) + bucket.length() + 1)
        }
    
        URI getUri() {
            return new URI("s3", bucket, path, null, null)
        }
    
        @Override
        void expectDownload() {
            expectGet()
        }
    
        @Override
        void expectDownloadBroken() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/IvySftpRepository.groovy

            this.server = server
            this.backingRepository = new IvyFileRepository(server.file(contextPath.substring(1)), m2Compatible, dirPattern, ivyFilePattern, artifactFilePattern)
        }
    
        URI getUri() {
            return new URI("${serverUri}${contextPath}")
        }
    
        URI getServerUri() {
            server.uri
        }
    
        String getIvyPattern() {
            return "$uri/${backingRepository.baseIvyPattern}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/IvyS3Repository.groovy

            this.bucket = bucket
            this.backingRepository = new IvyFileRepository(repoDir, m2Compatible, dirPattern, ivyFilePattern, artifactFilePattern)
            this.repositoryPath = repositoryPath
        }
    
        URI getUri() {
            new URI("s3://${bucket}${repositoryPath}")
        }
    
        @Override
        String getIvyPattern() {
            return "$uri/${backingRepository.baseIvyPattern}"
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Resource.java

            this.s3Object = s3Object;
            this.uri = uri;
        }
    
        @Override
        public InputStream openStream() throws IOException {
            return s3Object.getObjectContent();
        }
    
        public URI getURI() {
            return uri;
        }
    
        public long getContentLength() {
            return s3Object.getObjectMetadata().getContentLength();
        }
    
        public boolean isLocal() {
            return false;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/software/resources/src/main/java/org/gradle/internal/resource/local/FileResourceConnector.java

            return new DefaultLocallyAvailableExternalResource(originUri, file, originMetadata, fileSystem);
        }
    
        private static File getFile(ExternalResourceName location) {
            return new File(location.getUri());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. testing/performance/src/templates/project-with-source/pom.xml

        <packaging>jar</packaging>
        <version>1.0-SNAPSHOT</version>
        <% if (repository ) { %>
        <repositories>
            <repository>
              <id>local-repo</id>
              <url>${repository.getUri()}</url>
            </repository>
          </repositories>
        <% } %>
        <dependencies>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 08:47:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpRepository.groovy

            }
            this.contextPath = contextPath
            this.server = server
            this.metadataType = metadataType
            this.backingRepository = backingRepository
        }
    
        URI getUri() {
            return new URI("${server.uri}${contextPath}")
        }
    
        HttpResource getModuleMetaData(String groupId, String artifactId) {
            return module(groupId, artifactId).rootMetaData
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/software/resources/src/main/java/org/gradle/internal/resource/ResourceLocation.java

         * contain text encoded with a different encoding or represent a directory.
         *
         * @return The URI for this resource. Returns null if this resource does not have a URI.
         */
        @Nullable
        URI getURI();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top