Package org.apache.maven.toolchain
Interface ToolchainsBuilder
-
- All Known Implementing Classes:
DefaultToolchainsBuilder
public interface ToolchainsBuilderBuilds the toolchains model from a previously configured filesystem path to the toolchains file. Note: This is an internal component whose interface can change without prior notice.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PersistedToolchainsbuild(java.io.File userToolchainsFile)Builds the toolchains model from the configured toolchain files.
-
-
-
Method Detail
-
build
PersistedToolchains build(java.io.File userToolchainsFile) throws MisconfiguredToolchainException
Builds the toolchains model from the configured toolchain files.- Parameters:
userToolchainsFile- The path to the toolchains file, may benullto disable parsing.- Returns:
- The toolchains model or
nullif no toolchain file was configured or the configured file does not exist. - Throws:
MisconfiguredToolchainException- If the toolchain file exists but cannot be parsed.
-
-