Class JavaToolchainImpl

    • Method Detail

      • getJavaHome

        public java.lang.String getJavaHome()
        Description copied from interface: JavaToolchain
        Returns the home directory of the JDK.
        Specified by:
        getJavaHome in interface JavaToolchain
      • setJavaHome

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

        public org.apache.maven.artifact.versioning.ArtifactVersion getJavaVersion()
        Description copied from interface: JavaToolchain
        Returns the version of the JDK.
        Specified by:
        getJavaVersion in interface JavaToolchain
      • setJavaVersion

        public void setJavaVersion​(org.apache.maven.artifact.versioning.ArtifactVersion javaVersion)
      • 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