DefaultToolchainsBuilder
@Deprecated @Component(role=ToolchainsBuilder.class, hint="default") public class DefaultToolchainsBuilder extends java.lang.Object implements ToolchainsBuilder
Modifier and Type | Field and Description |
---|---|
private org.codehaus.plexus.logging.Logger |
logger
Deprecated.
|
Constructor and Description |
---|
DefaultToolchainsBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PersistedToolchains |
build(java.io.File userToolchainsFile)
Deprecated.
Builds the toolchains model from the configured toolchain files.
|
public PersistedToolchains build(java.io.File userToolchainsFile) throws MisconfiguredToolchainException
ToolchainsBuilder
build
in interface ToolchainsBuilder
userToolchainsFile
- The path to the toolchains file, may be null
to disable parsing.null
if no toolchain file was configured or the configured file does
not exist.MisconfiguredToolchainException
- If the toolchain file exists but cannot be parsed.