@Component(role=ToolchainManagerPrivate.class) public class DefaultToolchainManagerPrivate extends DefaultToolchainManager implements ToolchainManagerPrivate
ROLE| Constructor and Description |
|---|
DefaultToolchainManagerPrivate() |
| 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 session)
Stores the toolchain into build context for later use by toolchain-aware plugins.
|
getStorageKey, getToolchainFromBuildContext, getToolchainspublic DefaultToolchainManagerPrivate()
public ToolchainPrivate[] getToolchainsForType(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)Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.