org.apache.maven.toolchain.java
Class DefaultJavaToolChain
java.lang.Object
org.apache.maven.toolchain.DefaultToolchain
org.apache.maven.toolchain.java.DefaultJavaToolChain
- All Implemented Interfaces:
- JavaToolChain, Toolchain, ToolchainPrivate
@Component(role=JavaToolChain.class)
public class DefaultJavaToolChain
- extends DefaultToolchain
- implements JavaToolChain
- Author:
- Milos Kleint
KEY_JAVAHOME
public static final String KEY_JAVAHOME
- See Also:
- Constant Field Values
DefaultJavaToolChain
public DefaultJavaToolChain(ToolchainModel model,
Logger logger)
getJavaHome
public String getJavaHome()
setJavaHome
public void setJavaHome(String javaHome)
toString
public String toString()
- Overrides:
toString
in class Object
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
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.