JavaLauncher (Gradle API 8.14) (original) (raw)
Package org.gradle.jvm.toolchain
Interface JavaLauncher
public interface JavaLauncher
A java executable used to execute applications or run tests.
Since:
6.7
Method Summary
Modifier and Type
Method
Description[RegularFile](../../api/file/RegularFile.html "interface in org.gradle.api.file")
[getExecutablePath](#getExecutablePath%28%29)()
Returns the path to the executable for this tool[JavaInstallationMetadata](JavaInstallationMetadata.html "interface in org.gradle.jvm.toolchain")
[getMetadata](#getMetadata%28%29)()
Returns metadata information about this tool
Method Details
getMetadata
JavaInstallationMetadata getMetadata()
Returns metadata information about this tool
Returns:
the tool metadatagetExecutablePath
@Internal RegularFile getExecutablePath()
Returns the path to the executable for this tool
Returns:
the path to the executable