org.apache.maven.toolchain
Class DefaultToolchainsBuilder
java.lang.Object
   org.apache.maven.toolchain.DefaultToolchainsBuilder
org.apache.maven.toolchain.DefaultToolchainsBuilder
- All Implemented Interfaces: 
- ToolchainsBuilder
- @Component(role=ToolchainsBuilder.class,
           hint="default")
public class DefaultToolchainsBuilder
- extends Object- implements ToolchainsBuilder
- Author:
- Benjamin Bentmann
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultToolchainsBuilder
public DefaultToolchainsBuilder()
build
public PersistedToolchains build(File userToolchainsFile)
                          throws MisconfiguredToolchainException
- Description copied from interface: ToolchainsBuilder
- Builds the toolchains model from the configured toolchain files.
 
- 
- Specified by:
- buildin interface- ToolchainsBuilder
 
- 
- Parameters:
- userToolchainsFile- The path to the toolchains file, may be- nullto 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.
 
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.