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
- See Also:
- 
Method SummaryModifier 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- 
getToolchainsForTypeToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException Retrieves every toolchains of given type available in user settings.- Parameters:
- type- the type, must not be- null
- context- the Maven session, must not be- null
- Throws:
- MisconfiguredToolchainException
- Since:
- 3.0 (addition of the MavenSessionparameter)
 
- 
storeToolchainToBuildContextStores the toolchain into build context for later use by toolchain-aware plugins.- Parameters:
- toolchain- the toolchain to store, must not be- null
- context- the Maven session, must not be- null
- Since:
- 2.0.9
- See Also:
 
 
-