Class JavaToolchainImpl

    • Field Detail

      • javaHome

        private java.lang.String javaHome
    • Constructor Detail

      • JavaToolchainImpl

        JavaToolchainImpl​(ToolchainModel model,
                          org.codehaus.plexus.logging.Logger logger)
    • Method Detail

      • getJavaHome

        public java.lang.String getJavaHome()
      • setJavaHome

        public void setJavaHome​(java.lang.String javaHome)
      • findTool

        public java.lang.String findTool​(java.lang.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
      • findTool

        private static java.io.File findTool​(java.lang.String toolName,
                                             java.io.File installFolder)