Package org.apache.maven.internal.impl
Class DefaultToolchainsBuilder
java.lang.Object
org.apache.maven.internal.impl.DefaultToolchainsBuilder
- All Implemented Interfaces:
Service
,ToolchainsBuilder
Builds the effective toolchains from a user toolchains file and/or a global toolchains file.
-
Constructor Summary
ConstructorDescriptionDefaultToolchainsBuilder
(Interpolator interpolator, ToolchainsXmlFactory toolchainsXmlFactory) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(ToolchainsBuilderRequest request) Builds the effective toolchains for the specified toolchains files.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.services.ToolchainsBuilder
build
-
Constructor Details
-
DefaultToolchainsBuilder
public DefaultToolchainsBuilder() -
DefaultToolchainsBuilder
@Inject public DefaultToolchainsBuilder(Interpolator interpolator, ToolchainsXmlFactory toolchainsXmlFactory)
-
-
Method Details
-
build
public ToolchainsBuilderResult build(ToolchainsBuilderRequest request) throws ToolchainsBuilderException Description copied from interface:ToolchainsBuilder
Builds the effective toolchains for 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:
ToolchainsBuilderException
- if the effective toolchains could not be built
-