- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for toKey (0.05 sec)
-
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchainSpecInternal.java
/** * A key corresponding to the spec that is an immutable snapshot of the spec properties * suitable for usage in collections. */ interface Key {} Key toKey(); /** * A spec is considered configured when at least {@link #getLanguageVersion() language version} is set. * <p> * A spec that is not configured always directly matches the toolchain of the current JVM.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 16:57:19 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultToolchainSpec.java
public DefaultToolchainSpec() { getVendor().convention(getConventionVendor()); getImplementation().convention(getConventionImplementation()); } @Override public JavaToolchainSpecInternal.Key toKey() { return new Key(getLanguageVersion().getOrNull(), getVendor().getOrNull(), getImplementation().getOrNull()); } @Override public boolean isConfigured() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/SpecificInstallationToolchainSpec.java
return objectFactory.newInstance(SpecificInstallationToolchainSpec.class, JavaExecutableUtils.resolveJavaHomeOfExecutable(executable)); } @Override public Key toKey() { return new Key(javaHome); } @Override public boolean isConfigured() { return true; } @Override public boolean isValid() { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchainQueryService.java
// We can't use the key of the fallback toolchain spec, because it is a spec that can match configured requests as well JavaToolchainSpecInternal.Key actualKey = useFallback ? FALLBACK_TOOLCHAIN_KEY : requestedSpec.toKey(); Object resolutionResult = matchingToolchains.computeIfAbsent(actualKey, key -> { try { return query(actualSpec, useFallback); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:02:27 UTC 2024 - 9.2K bytes - Viewed (0)