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