Package org.apache.maven.toolchain
Interface ToolchainManagerPrivate
- All Known Implementing Classes:
 DefaultToolchainManagerPrivate
public interface ToolchainManagerPrivate
Component for use by the 
maven-toolchains-plugin only.
 It provides API: - to retrieve every toolchains available in user settings,
 - to store chosen toolchain into build context for later use by toolchain-aware plugins.
 
- Since:
 - 2.0.9
 - Author:
 - mkleint
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetToolchainsForType(String type, MavenSession context) Retrieves every toolchains of given type available in user settings.voidstoreToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession context) Stores the toolchain into build context for later use by toolchain-aware plugins. 
- 
Method Details
- 
getToolchainsForType
ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException Retrieves every toolchains of given type available in user settings.- Parameters:
 type- the type, must not benullcontext- the Maven session, must not benull- Throws:
 MisconfiguredToolchainException- Since:
 - 3.0 (addition of the 
MavenSessionparameter) 
 - 
storeToolchainToBuildContext
Stores the toolchain into build context for later use by toolchain-aware plugins.- Parameters:
 toolchain- the toolchain to store, must not benullcontext- the Maven session, must not benull- Since:
 - 2.0.9
 - See Also:
 
 
 -