Class DefaultToolchainsBuilder
java.lang.Object
org.apache.maven.toolchain.building.DefaultToolchainsBuilder
- All Implemented Interfaces:
ToolchainsBuilder
- Since:
- 3.3.0
-
Constructor Summary
ConstructorDescriptionDefaultToolchainsBuilder
(ToolchainsBuilder builder, ToolchainsXmlFactory toolchainsXmlFactory) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(ToolchainsBuildingRequest request) Builds the effective toolchains of the specified toolchains files.
-
Constructor Details
-
DefaultToolchainsBuilder
@Inject public DefaultToolchainsBuilder(ToolchainsBuilder builder, ToolchainsXmlFactory toolchainsXmlFactory)
-
-
Method Details
-
build
public ToolchainsBuildingResult build(ToolchainsBuildingRequest request) throws ToolchainsBuildingException Description copied from interface:ToolchainsBuilder
Builds the effective toolchains of the specified toolchains files.- Specified by:
build
in interfaceToolchainsBuilder
- Parameters:
request
- The toolchains building request that holds the parameters, must not benull
.- Returns:
- The result of the toolchains building, never
null
. - Throws:
ToolchainsBuildingException
- If the effective toolchains could not be built.
-