Package org.apache.maven.internal.impl
Class DefaultToolchainManager
java.lang.Object
org.apache.maven.internal.impl.DefaultToolchainManager
- All Implemented Interfaces:
Service
,ToolchainManager
-
Constructor Summary
ConstructorDescriptionDefaultToolchainManager
(DefaultToolchainManagerPrivate toolchainManagerPrivate) -
Method Summary
Modifier and TypeMethodDescriptiongetToolchainFromBuildContext
(Session session, String type) getToolchainsForType
(Session session, String type) void
storeToolchainToBuildContext
(Session session, Toolchain toolchain)
-
Constructor Details
-
DefaultToolchainManager
-
-
Method Details
-
getToolchains
public List<Toolchain> getToolchains(Session session, String type, Map<String, String> requirements) throws ToolchainManagerException- Specified by:
getToolchains
in interfaceToolchainManager
- Throws:
ToolchainManagerException
-
getToolchainFromBuildContext
public Optional<Toolchain> getToolchainFromBuildContext(Session session, String type) throws ToolchainManagerException - Specified by:
getToolchainFromBuildContext
in interfaceToolchainManager
- Throws:
ToolchainManagerException
-
getToolchainsForType
public List<Toolchain> getToolchainsForType(Session session, String type) throws ToolchainManagerException - Specified by:
getToolchainsForType
in interfaceToolchainManager
- Throws:
ToolchainManagerException
-
storeToolchainToBuildContext
public void storeToolchainToBuildContext(Session session, Toolchain toolchain) throws ToolchainManagerException - Specified by:
storeToolchainToBuildContext
in interfaceToolchainManager
- Throws:
ToolchainManagerException
-