Package org.apache.maven.model.building
Interface ModelBuildingResult
Deprecated.
Collects the output of the model builder.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.Gets the external profiles that were active during model building.getActivePomProfiles(String modelId) Deprecated.Gets the profiles from the specified model that were active during model building.Deprecated.Gets the assembled model.Deprecated.Deprecated.Gets the sequence of model identifiers that denote the lineage of models from which the effective model was constructed.Deprecated.Gets the problems that were encountered during the model building.Deprecated.Gets the raw model as it was read from the input model source.getRawModel(String modelId) Deprecated.Gets the specified raw model as it was read from a model source.
- 
Method Details- 
getModelIdsDeprecated.Gets the sequence of model identifiers that denote the lineage of models from which the effective model was constructed. Model identifiers should be handled as "opaque strings" and this method should be used as source if navigating the linage. The first identifier from the list denotes the model on which the model builder was originally invoked. The last identifier will always be the super POM.- Returns:
- The model identifiers from the lineage of models, never null.
 
- 
getFileModelModel getFileModel()Deprecated.- Returns:
- the file model
- Since:
- 4.0.0
 
- 
getEffectiveModelModel getEffectiveModel()Deprecated.Gets the assembled model.- Returns:
- The assembled model, never null.
 
- 
getRawModelModel getRawModel()Deprecated.Gets the raw model as it was read from the input model source. Apart from basic validation, the raw model has not undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation.- Returns:
- The raw model, never null.
 
- 
getRawModelDeprecated.Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. The model identifier should be from the collection obtained bygetModelIds().- Parameters:
- modelId- The identifier of the desired raw model, must not be- null.
- Returns:
- The raw model or nullif the specified model id does not refer to a known model.
- See Also:
 
- 
getActivePomProfilesDeprecated.Gets the profiles from the specified model that were active during model building. The model identifier should be from the collection obtained bygetModelIds().- Parameters:
- modelId- The identifier of the model whose active profiles should be retrieved, must not be- null.
- Returns:
- The active profiles of the model or an empty list if none or nullif the specified model id does not refer to a known model.
- See Also:
 
- 
getActiveExternalProfilesDeprecated.Gets the external profiles that were active during model building. External profiles are those that were contributed byModelBuildingRequest.getProfiles().- Returns:
- The active external profiles or an empty list if none, never null.
 
- 
getProblemsList<ModelProblem> getProblems()Deprecated.Gets the problems that were encountered during the model building. Note that only problems of severityModelProblem.Severity.WARNINGand below are reported here. Problems with a higher severity level cause the model builder to fail with aModelBuildingException.- Returns:
- The problems that were encountered during the model building, can be empty but never null.
 
 
- 
ModelBuilderinstead