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 null
context
- the Maven session, must not be null
MisconfiguredToolchainException
MavenSession
parameter)void storeToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession context)
toolchain
- the toolchain to store, must not be null
context
- the Maven session, must not be null
ToolchainManager.getToolchainFromBuildContext(String, MavenSession)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.