Class JavaToolchainImpl

java.lang.Object
org.apache.maven.toolchain.DefaultToolchain
org.apache.maven.toolchain.java.JavaToolchainImpl
All Implemented Interfaces:
JavaToolchain, Toolchain, ToolchainPrivate
Direct Known Subclasses:
DefaultJavaToolChain

public class JavaToolchainImpl extends DefaultToolchain implements JavaToolchain
JDK toolchain implementation.
Since:
2.0.9, renamed from DefaultJavaToolChain in 3.2.4
Author:
Milos Kleint
  • Field Details

  • Method Details

    • getJavaHome

      public String getJavaHome()
    • setJavaHome

      public void setJavaHome(String javaHome)
    • toString

      public String toString()
      Overrides:
      toString in class DefaultToolchain
    • findTool

      public String findTool(String toolName)
      Description copied from interface: Toolchain
      Gets the platform tool executable.
      Specified by:
      findTool in interface Toolchain
      Parameters:
      toolName - the tool platform independent tool name.
      Returns:
      file representing the tool executable, or null if the tool can not be found