Class DefaultToolchainsBuilder
java.lang.Object
org.apache.maven.toolchain.building.DefaultToolchainsBuilder
- All Implemented Interfaces:
ToolchainsBuilder
- Since:
- 3.3.0
- Author:
- Robert Scholte
-
Constructor Summary
ConstructorDescriptionDefaultToolchainsBuilder
(ToolchainsWriter toolchainsWriter, ToolchainsReader toolchainsReader) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(ToolchainsBuildingRequest request) Builds the effective toolchains of the specified toolchains files.
-
Constructor Details
-
DefaultToolchainsBuilder
@Inject public DefaultToolchainsBuilder(ToolchainsWriter toolchainsWriter, ToolchainsReader toolchainsReader)
-
-
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.
-