Package org.apache.maven.toolchain
Interface ToolchainManager
- All Known Implementing Classes:
- ToolchainManagerFactory.DefaultToolchainManagerV3
Deprecated.
Public API for a toolchain-aware plugin to get expected toolchain instance.
- Since:
- 2.0.9
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptiongetToolchainFromBuildContext(String type, MavenSession context) Deprecated.Retrieve toolchain of specified type from build context.getToolchains(MavenSession session, String type, Map<String, String> requirements) Deprecated.Select all toolchains available in user settings matching the type and requirements, independently frommaven-toolchains-plugin.
- 
Field Details- 
ROLEDeprecated.
 
- 
- 
Method Details- 
getToolchainFromBuildContextDeprecated.Retrieve toolchain of specified type from build context. It is expected thatmaven-toolchains-plugincontains the configuration to select the appropriate toolchain and is executed at the beginning of the build.- Parameters:
- type- the type, must not be- null
- context- the Maven session, must not be- null
- Returns:
- the toolchain selected by maven-toolchains-plugin
 
- 
getToolchainsDeprecated.Select all toolchains available in user settings matching the type and requirements, independently frommaven-toolchains-plugin.- Parameters:
- session- the Maven session, must not be- null
- type- the type, must not be- null
- requirements- the requirements, may be- null
- Returns:
- the matching toolchains, never null
- Since:
- 3.3.0
 
 
- 
ToolchainManagerinstead.