Class DefaultToolchainsBuildingResult
- java.lang.Object
-
- org.apache.maven.toolchain.building.DefaultToolchainsBuildingResult
-
- All Implemented Interfaces:
ToolchainsBuildingResult
public class DefaultToolchainsBuildingResult extends java.lang.Object implements ToolchainsBuildingResult
Holds the result of the merged toolchains and holds the problems during this build, if any.- Since:
- 3.3.0
-
-
Field Summary
Fields Modifier and Type Field Description private PersistedToolchainseffectiveToolchainsprivate java.util.List<Problem>problems
-
Constructor Summary
Constructors Constructor Description DefaultToolchainsBuildingResult(PersistedToolchains effectiveToolchains, java.util.List<Problem> problems)Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistedToolchainsgetEffectiveToolchains()Gets the assembled toolchains.java.util.List<Problem>getProblems()Return a list of problems, if any.
-
-
-
Field Detail
-
effectiveToolchains
private PersistedToolchains effectiveToolchains
-
problems
private java.util.List<Problem> problems
-
-
Constructor Detail
-
DefaultToolchainsBuildingResult
public DefaultToolchainsBuildingResult(PersistedToolchains effectiveToolchains, java.util.List<Problem> problems)
Default constructor- Parameters:
effectiveToolchains- the merged toolchains, may not benullproblems- the problems while building the effectiveToolchains, if any.
-
-
Method Detail
-
getEffectiveToolchains
public PersistedToolchains getEffectiveToolchains()
Description copied from interface:ToolchainsBuildingResultGets the assembled toolchains.- Specified by:
getEffectiveToolchainsin interfaceToolchainsBuildingResult- Returns:
- The assembled toolchains, never
null.
-
getProblems
public java.util.List<Problem> getProblems()
Description copied from interface:ToolchainsBuildingResultReturn a list of problems, if any.- Specified by:
getProblemsin interfaceToolchainsBuildingResult- Returns:
- a list of problems, never
null.
-
-