Class DefaultToolchainsBuildingResult
java.lang.Object
org.apache.maven.toolchain.building.DefaultToolchainsBuildingResult
- All Implemented Interfaces:
ToolchainsBuildingResult
Holds the result of the merged toolchains and holds the problems during this build, if any.
- Since:
- 3.3.0
- Author:
- Robert Scholte
-
Constructor Summary
ConstructorDescriptionDefaultToolchainsBuildingResult
(PersistedToolchains effectiveToolchains, List<Problem> problems) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionGets the assembled toolchains.Return a list of problems, if any.
-
Constructor Details
-
DefaultToolchainsBuildingResult
public DefaultToolchainsBuildingResult(PersistedToolchains effectiveToolchains, List<Problem> problems) Default constructor- Parameters:
effectiveToolchains
- the merged toolchains, may not benull
problems
- the problems while building the effectiveToolchains, if any.
-
-
Method Details
-
getEffectiveToolchains
Description copied from interface:ToolchainsBuildingResult
Gets the assembled toolchains.- Specified by:
getEffectiveToolchains
in interfaceToolchainsBuildingResult
- Returns:
- The assembled toolchains, never
null
.
-
getProblems
Description copied from interface:ToolchainsBuildingResult
Return a list of problems, if any.- Specified by:
getProblems
in interfaceToolchainsBuildingResult
- Returns:
- a list of problems, never
null
.
-