Package org.apache.maven.toolchain.java
Class JavaToolchainFactory
java.lang.Object
org.apache.maven.toolchain.java.JavaToolchainFactory
- All Implemented Interfaces:
ToolchainFactory
@Deprecated(since="4.0.0")
public class JavaToolchainFactory
extends Object
implements ToolchainFactory
Deprecated.
JDK toolchain factory.
This is a
ToolchainFactory Plexus component registered with
jdk hint.- Since:
- 2.0.9, renamed from
DefaultJavaToolchainFactoryin 3.2.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the default instance of the particular type of toolchain, can returnnullif not applicable.createToolchain(ToolchainModel model) Deprecated.Create instance of toolchain.protected org.slf4j.LoggerDeprecated.
-
Constructor Details
-
JavaToolchainFactory
public JavaToolchainFactory()Deprecated.
-
-
Method Details
-
createToolchain
public ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException Deprecated.Description copied from interface:ToolchainFactoryCreate instance of toolchain.- Specified by:
createToolchainin interfaceToolchainFactory- Throws:
MisconfiguredToolchainException
-
createDefaultToolchain
Deprecated.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.slf4j.Logger getLogger()Deprecated.
-
ToolchainFactoryinstead.