Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getVendor (0.14 sec)

  1. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultToolchainSpec.java

            }
        }
    
        @Inject
        public DefaultToolchainSpec() {
            getVendor().convention(getConventionVendor());
            getImplementation().convention(getConventionImplementation());
        }
        @Override
        public JavaToolchainSpecInternal.Key toKey() {
            return new Key(getLanguageVersion().getOrNull(), getVendor().getOrNull(), getImplementation().getOrNull());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 18:07:00 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultJvmVendorSpecTest.groovy

                getVendor() >> JvmVendor.fromString("bellsoft")
            }
    
            expect:
            assertMatches(JvmVendorSpec.BELLSOFT, metadata)
            assertDoesNotMatch(JvmVendorSpec.IBM, metadata)
        }
    
        def "matches by raw string"() {
            given:
            def metadata = Mock(JvmInstallationMetadata) {
                getVendor() >> JvmVendor.fromString("someCustomJdk")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchainInput.java

            this.vendor = spec.getVendor().get().toString();
            this.implementation = spec.getImplementation().get().toString();
        }
    
        @Optional
        @Input
        JavaLanguageVersion getLanguageVersion() {
            return javaLanguageVersion;
        }
    
        @Input
        String getVendor() {
            return vendor;
        }
    
        @Input
        String getImplementation() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            InstallationLocation currentJavaHome = null,
            Function<String, String> getVersion = { it },
            Function<String, String> getVendor = { "" }
        ) {
            def detector = createJvmMetadataDetector(getVersion, getVendor)
            def currentJavaHomePath = currentJavaHome?.location ?: Jvm.current().javaHome
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/JavaToolchainSpec.java

         * <p>
         * Note that the vendor can only be configured if the {@link #getLanguageVersion() language version} is configured as well.
         *
         * @since 6.8
         */
        Property<JvmVendorSpec> getVendor();
    
        /**
         * The virtual machine implementation of the toolchain.
         * <p>
         * By default, any implementation (hotspot, j9, ...) is eligible.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchain.java

        }
    
        @Internal
        public JvmInstallationMetadata getMetadata() {
            return metadata;
        }
    
        @Override
        public String getVendor() {
            return metadata.getVendor().getDisplayName();
        }
    
        @Internal
        @Override
        public String getDisplayName() {
            return javaHome.toString();
        }
    
        @Internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

            Collection<String> installations,
            InstallationLocation currentJvm = null,
            Function<String, String> getVersion = { it },
            Function<String, String> getVendor = { "" }
        ) {
            def detector = newJvmMetadataDetector(getVersion, getVendor)
            def registry = createInstallationRegistry(installations, detector)
            def currentJvmPath = currentJvm?.location ?: Jvm.current().javaHome
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. testing/soak/src/testFixtures/groovy/org/gradle/launcher/daemon/fixtures/DaemonMultiJdkIntegrationTest.groovy

                    @Override
                    boolean isSatisfiedBy(JvmInstallationMetadata install) {
                        if (version.hasProperty("vendor")) {
                            if(install.getVendor().getKnownVendor() != version.vendor) {
                                return false
                            }
                        }
                        return install.languageVersion == version.version
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/JavaInstallationMetadata.java

        @Internal
        String getJvmVersion();
    
        /**
         * Returns a human-readable string for the vendor of the JVM.
         *
         * @return the vendor
         * @since 6.8
         */
        @Internal
        String getVendor();
    
        /**
         * The path to installation this tool belongs to.
         * <p>
         * This value matches what would be the content of {@code JAVA_HOME} for the given installation.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJvmVendorSpec.java

            this.matcher = predicate;
            this.description = description;
        }
    
        @Override
        public boolean test(JvmInstallationMetadata metadata) {
            final JvmVendor vendor = metadata.getVendor();
            return test(vendor);
        }
    
        public boolean test(JvmVendor vendor) {
            return matcher.test(vendor);
        }
    
        @Override
        public boolean matches(String vendor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top