@Component(role=ToolchainManagerPrivate.class) public class DefaultToolchainManagerPrivate extends DefaultToolchainManager implements ToolchainManagerPrivate
factories, loggerROLE| Constructor and Description |
|---|
DefaultToolchainManagerPrivate() |
| Modifier and Type | Method and Description |
|---|---|
ToolchainPrivate[] |
getToolchainsForType(java.lang.String type,
MavenSession context)
Retrieves every toolchains of given type available in user settings.
|
void |
storeToolchainToBuildContext(ToolchainPrivate toolchain,
MavenSession session)
Stores the toolchain into build context for later use by toolchain-aware plugins.
|
getStorageKey, getToolchainFromBuildContext, getToolchains, retrieveContextpublic ToolchainPrivate[] getToolchainsForType(java.lang.String type, MavenSession context) throws MisconfiguredToolchainException
ToolchainManagerPrivategetToolchainsForType in interface ToolchainManagerPrivatetype - the type, must not be nullcontext - the Maven session, must not be nullMisconfiguredToolchainExceptionpublic void storeToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession session)
ToolchainManagerPrivatestoreToolchainToBuildContext in interface ToolchainManagerPrivatetoolchain - the toolchain to store, must not be nullsession - the Maven session, must not be nullToolchainManager.getToolchainFromBuildContext(String, MavenSession)