Package org.apache.maven.toolchain.java
Class JavaToolchainFactory
java.lang.Object
org.apache.maven.toolchain.java.JavaToolchainFactory
- All Implemented Interfaces:
ToolchainFactory
@Component(role=ToolchainFactory.class,
hint="jdk")
public class JavaToolchainFactory
extends Object
implements ToolchainFactory
JDK toolchain factory.
This is a
ToolchainFactory Plexus component registered with
jdk hint.- Since:
- 2.0.9, renamed from
DefaultJavaToolchainFactoryin 3.2.4 - Author:
- mkleint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the default instance of the particular type of toolchain, can returnnullif not applicable.createToolchain(ToolchainModel model) Create instance of toolchain.protected org.codehaus.plexus.logging.Logger
-
Constructor Details
-
JavaToolchainFactory
public JavaToolchainFactory()
-
-
Method Details
-
createToolchain
public ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException Description copied from interface:ToolchainFactoryCreate instance of toolchain.- Specified by:
createToolchainin interfaceToolchainFactory- Throws:
MisconfiguredToolchainException
-
createDefaultToolchain
Description copied from interface:ToolchainFactoryReturns the default instance of the particular type of toolchain, can returnnullif not applicable. TODO keep around??- Specified by:
createDefaultToolchainin interfaceToolchainFactory
-
getLogger
protected org.codehaus.plexus.logging.Logger getLogger()
-