Package org.apache.maven.api.services
Interface ModelBuilderResult
Result of a project build call.
- Since:
- 4.0.0
- 
Method SummaryModifier and TypeMethodDescriptionGets the external profiles that were active during model building.Gets the profiles that were active during model building.List<? extends ModelBuilderResult> Gets the children of this result.Gets the assembled model with inheritance, interpolation and profile injection.Gets the file model.Gets the effective model of the parent POM.Gets the problems that were encountered during the project building.Gets the file model + build pom transformation, without inheritance nor interpolation.Gets the source from which the model was read.toString()Creates a human-readable representation of these errors.
- 
Method Details- 
getSourceGets the source from which the model was read.- Returns:
- The source from which the model was read, never null.
 
- 
getFileModelGets the file model.- Returns:
- the file model, never null.
 
- 
getRawModelGets the file model + build pom transformation, without inheritance nor interpolation.- Returns:
- The raw model, never null.
 
- 
getParentModelGets the effective model of the parent POM.- Returns:
- the effective model of the parent POM, never null
 
- 
getEffectiveModelGets the assembled model with inheritance, interpolation and profile injection.- Returns:
- The assembled model, never null.
 
- 
getActivePomProfilesGets the profiles that were active during model building.- Returns:
- The active profiles of the model or an empty list if the model has no active profiles.
 
- 
getActiveExternalProfilesGets the external profiles that were active during model building. External profiles are those that were contributed byModelBuilderRequest.getProfiles().- Returns:
- The active external profiles or an empty list if none, never null.
 
- 
getProblemsGets the problems that were encountered during the project building.- Returns:
- the problems that were encountered during the project building, can be empty but never null
 
- 
getChildrenGets the children of this result.- Returns:
- the children of this result, can be empty but never null
 
- 
toStringString toString()Creates a human-readable representation of these errors.
 
-