Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 133 for getURI (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/resources/src/main/java/org/gradle/internal/resource/LocalBinaryResource.java

    import java.io.File;
    import java.net.URI;
    
    /**
     * Some binary resource available somewhere on the local file system.
     */
    public interface LocalBinaryResource extends Resource, ReadableContent {
        URI getURI();
    
        String getBaseName();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenFileRepository.groovy

     */
    class MavenFileRepository implements MavenRepository {
        final TestFile rootDir
    
        MavenFileRepository(TestFile rootDir) {
            this.rootDir = rootDir
        }
    
        URI getUri() {
            return rootDir.toURI()
        }
    
        MavenFileModule module(String groupId, String artifactId, String version = '1.0') {
            def artifactDir = rootDir.file("${groupId.replace('.', '/')}/$artifactId/$version")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenLocalRepository.groovy

     */
    class MavenLocalRepository implements MavenRepository {
    
        final TestFile rootDir
    
        MavenLocalRepository(TestFile rootDir) {
            this.rootDir = rootDir
        }
    
        URI getUri() {
            return rootDir.toURI()
        }
    
        MavenLocalModule module(String groupId, String artifactId, String version = '1.0') {
            def artifactDir = rootDir.file("${groupId.replace('.', '/')}/$artifactId/$version")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/plugins/buildServiceFromWorkAction/groovy/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. platforms/documentation/docs/src/snippets/plugins/buildService/groovy/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)
Back to top