DefaultToolchainsBuilder
@Deprecated @Component(role=ToolchainsBuilder.class, hint="default") public class DefaultToolchainsBuilder extends Object implements ToolchainsBuilder
Constructor and Description |
---|
DefaultToolchainsBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PersistedToolchains |
build(File userToolchainsFile)
Deprecated.
Builds the toolchains model from the configured toolchain files.
|
public PersistedToolchains build(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.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.