Package org.apache.maven.toolchain
Class DefaultToolchainManagerPrivate
java.lang.Object
org.apache.maven.toolchain.DefaultToolchainManager
org.apache.maven.toolchain.DefaultToolchainManagerPrivate
- All Implemented Interfaces:
- ToolchainManager,- ToolchainManagerPrivate
@Named
@Singleton
public class DefaultToolchainManagerPrivate
extends DefaultToolchainManager
implements ToolchainManagerPrivate
TODO: refactor this, component extending component is bad practice.
- Author:
- mkleint, Robert Scholte
- 
Field SummaryFields inherited from class org.apache.maven.toolchain.DefaultToolchainManagerloggerFields inherited from interface org.apache.maven.toolchain.ToolchainManagerROLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetToolchainsForType(String type, MavenSession session) Retrieves every toolchains of given type available in user settings.voidstoreToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession session) Stores the toolchain into build context for later use by toolchain-aware plugins.Methods inherited from class org.apache.maven.toolchain.DefaultToolchainManagergetStorageKey, getToolchainFromBuildContext, getToolchains
- 
Constructor Details- 
DefaultToolchainManagerPrivate
 
- 
- 
Method Details- 
getToolchainsForTypepublic ToolchainPrivate[] getToolchainsForType(String type, MavenSession session) throws MisconfiguredToolchainException Description copied from interface:ToolchainManagerPrivateRetrieves every toolchains of given type available in user settings.- Specified by:
- getToolchainsForTypein interface- ToolchainManagerPrivate
- Parameters:
- type- the type, must not be- null
- session- the Maven session, must not be- null
- Throws:
- MisconfiguredToolchainException
 
- 
storeToolchainToBuildContextDescription copied from interface:ToolchainManagerPrivateStores the toolchain into build context for later use by toolchain-aware plugins.- Specified by:
- storeToolchainToBuildContextin interface- ToolchainManagerPrivate
- Parameters:
- toolchain- the toolchain to store, must not be- null
- session- the Maven session, must not be- null
- See Also:
 
 
-