Package org.gradle.jvm.toolchain
Schnittstelle JavaInstallationMetadata
public interface JavaInstallationMetadata
Metadata about a Java tool obtained from a toolchain.
- Seit:
- 6.7
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe path to installation this tool belongs to.Returns the full Java version (including the build number) of the JVM, as specified in itsjava.runtime.versionproperty.Returns the version of the JVM, as specified in itsjava.vm.versionproperty.Returns the language version of the JVM to which this tool belongsReturns a human-readable string for the vendor of the JVM.booleanReturns true if this installation corresponds to the build JVM.
-
Methodendetails
-
getLanguageVersion
Returns the language version of the JVM to which this tool belongs- Gibt zurück:
- the
JavaLanguageVersion
-
getJavaRuntimeVersion
Returns the full Java version (including the build number) of the JVM, as specified in itsjava.runtime.versionproperty.- Gibt zurück:
- the full Java version of the JVM
- Seit:
- 7.1
-
getJvmVersion
Returns the version of the JVM, as specified in itsjava.vm.versionproperty.- Gibt zurück:
- the version of the JVM
- Seit:
- 7.1
-
getVendor
Returns a human-readable string for the vendor of the JVM.- Gibt zurück:
- the vendor
- Seit:
- 6.8
-
getInstallationPath
The path to installation this tool belongs to.This value matches what would be the content of
JAVA_HOMEfor the given installation.- Gibt zurück:
- the installation path
-
isCurrentJvm
Returns true if this installation corresponds to the build JVM.- Seit:
- 8.0
-