Package org.apache.maven.toolchain
Interface ToolchainFactory
- All Known Implementing Classes:
JavaToolchainFactory
public interface ToolchainFactory
Internal toolchain factory, to prepare toolchains instances.
- Since:
- 2.0.9
- Author:
- mkleint
-
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.
-
Method Details
-
createToolchain
Create instance of toolchain.- Throws:
MisconfiguredToolchainException
-
createDefaultToolchain
ToolchainPrivate createDefaultToolchain()Returns the default instance of the particular type of toolchain, can returnnull
if not applicable. TODO keep around??
-