public interface ModelBuildingResult
Modifier and Type | Method and Description |
---|---|
List<Profile> |
getActiveExternalProfiles()
Gets the external profiles that were active during model building.
|
List<Profile> |
getActivePomProfiles(String modelId)
Gets the profiles from the specified model that were active during model building.
|
Model |
getEffectiveModel()
Gets the assembled model.
|
List<String> |
getModelIds()
Gets the sequence of model identifiers that denote the lineage of models from which the effective model was
constructed.
|
List<ModelProblem> |
getProblems()
Gets the problems that were encountered during the model building.
|
Model |
getRawModel()
Gets the raw model as it was read from the input model source.
|
Model |
getRawModel(String modelId)
Gets the specified raw model as it was read from a model source.
|
List<String> getModelIds()
<groupId>:<artifactId>:<version>
. The first identifier from
the list denotes the model on which the model builder was originally invoked. The last identifier will always be
an empty string that by definition denotes the super POM.null
.Model getEffectiveModel()
null
.Model getRawModel()
null
.Model getRawModel(String modelId)
getModelIds()
. As a special case, an empty string
can be used as the identifier for the super POM.modelId
- The identifier of the desired raw model, must not be null
.null
if the specified model id does not refer to a known model.List<Profile> getActivePomProfiles(String modelId)
getModelIds()
. As a special case, an empty string can be used as the
identifier for the super POM.modelId
- The identifier of the model whose active profiles should be retrieved, must not be null
.null
if the specified model id does
not refer to a known model.List<Profile> getActiveExternalProfiles()
ModelBuildingRequest.getProfiles()
.null
.List<ModelProblem> getProblems()
ModelProblem.Severity.WARNING
and below are reported here. Problems with a higher severity level cause
the model builder to fail with a ModelBuildingException
.null
.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.