Class DefaultToolchainsBuildingRequest
java.lang.Object
org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest
- All Implemented Interfaces:
ToolchainsBuildingRequest
Collects toolchains that control building of effective toolchains.
- Since:
- 3.3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the global toolchains source.Gets the user toolchains source.setGlobalToolchainsSource
(Source globalToolchainsSource) Sets the global toolchains source.setUserToolchainsSource
(Source userToolchainsSource) Sets the user toolchains source.
-
Constructor Details
-
DefaultToolchainsBuildingRequest
public DefaultToolchainsBuildingRequest()
-
-
Method Details
-
getGlobalToolchainsSource
Description copied from interface:ToolchainsBuildingRequest
Gets the global toolchains source.- Specified by:
getGlobalToolchainsSource
in interfaceToolchainsBuildingRequest
- Returns:
- The global toolchains source or
null
if none.
-
setGlobalToolchainsSource
Description copied from interface:ToolchainsBuildingRequest
Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains take precedence.- Specified by:
setGlobalToolchainsSource
in interfaceToolchainsBuildingRequest
- Parameters:
globalToolchainsSource
- The global toolchains source, may benull
to disable global toolchains.- Returns:
- This request, never
null
.
-
getUserToolchainsSource
Description copied from interface:ToolchainsBuildingRequest
Gets the user toolchains source.- Specified by:
getUserToolchainsSource
in interfaceToolchainsBuildingRequest
- Returns:
- The user toolchains source or
null
if none.
-
setUserToolchainsSource
Description copied from interface:ToolchainsBuildingRequest
Sets the user toolchains source. If both user toolchains and a global toolchains are given, the user toolchains take precedence.- Specified by:
setUserToolchainsSource
in interfaceToolchainsBuildingRequest
- Parameters:
userToolchainsSource
- The user toolchains source, may benull
to disable user toolchains.- Returns:
- This request, never
null
.
-