public interface ToolchainManagerPrivate
maven-toolchains-plugin only.
 It provides API: ToolchainManager.getToolchainFromBuildContext(String, MavenSession)| Modifier and Type | Method and Description | 
|---|---|
ToolchainPrivate[] | 
getToolchainsForType(String type,
                    MavenSession context)
Retrieves every toolchains of given type available in user settings. 
 | 
void | 
storeToolchainToBuildContext(ToolchainPrivate toolchain,
                            MavenSession context)
Stores the toolchain into build context for later use by toolchain-aware plugins. 
 | 
ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException
type - the type, must not be nullcontext - the Maven session, must not be nullMisconfiguredToolchainExceptionMavenSession parameter)void storeToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession context)
toolchain - the toolchain to store, must not be nullcontext - the Maven session, must not be nullToolchainManager.getToolchainFromBuildContext(String, MavenSession)Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.