Uses of Interface
org.apache.maven.api.Toolchain
Packages that use Toolchain
Package
Description
Maven Core API
Defines core service interfaces that provide essential Maven functionality such as
artifact resolution, dependency management, and build execution.
-
Uses of Toolchain in org.apache.maven.api
Subinterfaces of Toolchain in org.apache.maven.apiModifier and TypeInterfaceDescriptioninterface
Represents a Java toolchain in the Maven build system. -
Uses of Toolchain in org.apache.maven.api.services
Methods in org.apache.maven.api.services that return ToolchainModifier and TypeMethodDescriptionToolchainFactory.createToolchain
(ToolchainModel model) Creates a toolchain instance from the provided model configuration.Methods in org.apache.maven.api.services that return types with arguments of type ToolchainModifier and TypeMethodDescriptionToolchainFactory.createDefaultToolchain()
Creates a default toolchain instance using system defaults.ToolchainManager.getToolchainFromBuildContext
(Session session, String type) Retrieves the currently active toolchain from the build context.ToolchainManager.getToolchains
(Session session, String type) Retrieves all toolchains of the specified type without additional requirements.Retrieves toolchains matching the specified type and requirements.Methods in org.apache.maven.api.services with parameters of type ToolchainModifier and TypeMethodDescriptionvoid
ToolchainManager.storeToolchainToBuildContext
(Session session, Toolchain toolchain) Stores a toolchain in the build context for later retrieval.