Class DefaultJavaToolChain

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

public class DefaultJavaToolChain extends DefaultToolchain
Deprecated.
clients that do not require compatibility with Maven 3.2.3 and earlier should link to JavaToolchainImpl instead.
Provides backwards compatibility with Maven 3.2.3 and earlier. Clients that do not require compatibility with Maven 3.2.3 and earlier are encouraged to use JavaToolchainImpl. Note: This is an internal component whose interface can change without prior notice.
  • Field Details

  • Constructor Details

    • DefaultJavaToolChain

      public DefaultJavaToolChain(ToolchainModel model, org.slf4j.Logger logger)
      Deprecated.
  • Method Details

    • getJavaHome

      public String getJavaHome()
      Deprecated.
    • setJavaHome

      public void setJavaHome(String javaHome)
      Deprecated.
    • 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