Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 144 for getURI (0.23 sec)

  1. platforms/documentation/docs/src/snippets/plugins/buildService/groovy/buildSrc/src/main/java/Download.java

        abstract RegularFileProperty getOutputFile();
    
        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 776 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/download/FileDownloadOperationDescriptor.java

     *
     * @since 7.3
     */
    public interface FileDownloadOperationDescriptor extends OperationDescriptor {
        /**
         * Returns the URI that the file is downloaded from.
         */
        URI getUri();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 991 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java

                if (cached != null && !externalResourceCachePolicy.mustRefreshExternalResource(getAgeMillis(timeProvider, cached))) {
                    return fileResourceRepository.resource(cached.getCachedFile(), location.getUri(), cached.getExternalResourceMetaData());
                }
    
                // We have a cached version, but it might be out of date, so we tell the upstreams to revalidate too
                final boolean revalidate = true;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/plugins/buildService/kotlin/buildSrc/src/main/java/Download.java

        abstract RegularFileProperty getOutputFile();
    
        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 776 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/plugins/buildServiceUsingServiceReference/groovy/buildSrc/src/main/java/Download.java

        abstract RegularFileProperty getOutputFile();
    
        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 802 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/plugins/buildServiceUsingServiceReference/kotlin/buildSrc/src/main/java/Download.java

        abstract RegularFileProperty getOutputFile();
    
        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 802 bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/configuration/BuildOperationScriptPlugin.java

            public String getFile() {
                return file == null ? null : file.getAbsolutePath();
            }
    
            @Nullable
            @Override
            public String getUri() {
                if (file == null) {
                    URI uri = resourceLocation.getURI();
                    return uri == null ? null : uri.toASCIIString();
                } else {
                    return null;
                }
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/plugins/buildService/kotlin/buildSrc/src/main/java/WebServer.java

            // Start the server ...
    
            System.out.println(String.format("Server is running at %s", uri));
        }
    
        // A public method for tasks to use
        public URI getUri() {
            return uri;
        }
    
        @Override
        public void close() {
            // Stop the server ...
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/plugins/buildServiceUsingServiceReference/kotlin/buildSrc/src/main/java/WebServer.java

            // Start the server ...
    
            System.out.println(String.format("Server is running at %s", uri));
        }
    
        // A public method for tasks to use
        public URI getUri() {
            return uri;
        }
    
        @Override
        public void close() {
            // Stop the server ...
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/Repository.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.test.fixtures
    
    public interface Repository {
        URI getUri()
    
        /**
         * Defaults version to '1.0'
         */
        Module module(String group, String module)
    
        Module module(String group, String module, String version)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 860 bytes
    - Viewed (1)
Back to top