Interface JavaToolchain

All Superinterfaces:
Toolchain
All Known Implementing Classes:
DefaultJavaToolChain, JavaToolchainImpl

public interface JavaToolchain extends Toolchain
JDK toolchain interface.
Since:
2.0.9, renamed from JavaToolChain in 3.2.4
Author:
Jason van Zyl, Milos Kleint
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the home directory of the JDK.
    org.apache.maven.artifact.versioning.ArtifactVersion
    Returns the version of the JDK.

    Methods inherited from interface Toolchain

    findTool, getType
  • Method Details

    • getJavaHome

      String getJavaHome()
      Returns the home directory of the JDK.
      Since:
      3.10.0
    • getJavaVersion

      org.apache.maven.artifact.versioning.ArtifactVersion getJavaVersion()
      Returns the version of the JDK.
      Since:
      3.10.0