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
DefaultJavaToolchainFactory
in 3.2.4 - Author:
- mkleint
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default instance of the particular type of toolchain, can returnnull
if 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:ToolchainFactory
Create instance of toolchain.- Specified by:
createToolchain
in interfaceToolchainFactory
- Throws:
MisconfiguredToolchainException
-
createDefaultToolchain
Description copied from interface:ToolchainFactory
Returns the default instance of the particular type of toolchain, can returnnull
if not applicable. TODO keep around??- Specified by:
createDefaultToolchain
in interfaceToolchainFactory
-
getLogger
protected org.codehaus.plexus.logging.Logger getLogger()
-