Package | Description |
---|---|
org.apache.maven.model.building |
Modifier and Type | Class and Description |
---|---|
class |
DefaultModelProblem
Describes a problem that was encountered during model building.
|
Modifier and Type | Method and Description |
---|---|
List<ModelProblem> |
ModelProblemCollectorExt.getProblems()
The collected problems.
|
List<ModelProblem> |
ModelBuildingException.getProblems()
Gets the problems that caused this exception.
|
List<ModelProblem> |
ModelBuildingResult.getProblems()
Gets the problems that were encountered during the model building.
|
Iterable<? extends ModelProblem> |
Result.getProblems() |
Modifier and Type | Method and Description |
---|---|
static <T> Result<T> |
Result.addProblem(Result<T> result,
ModelProblem problem)
New result consisting of given result and new problem.
|
static String |
ModelProblemUtils.formatLocation(ModelProblem problem,
String projectId)
Creates a string with all location details for the specified model problem.
|
Modifier and Type | Method and Description |
---|---|
static <T> Result<T> |
Result.addProblems(Result<T> result,
Iterable<? extends ModelProblem> problems)
New result that includes the given
|
static <T> Result<T> |
Result.error(Iterable<? extends ModelProblem> problems)
Error with problems describing the cause
|
static <T> Result<T> |
Result.error(T model,
Iterable<? extends ModelProblem> problems)
Error with partial result and problems describing the cause
|
static <T> Result<T> |
Result.newResult(T model,
Iterable<? extends ModelProblem> problems)
New result - determine whether error or success by checking problems for errors
|
static <T> Result<T> |
Result.success(T model,
Iterable<? extends ModelProblem> problems)
Success with warnings
|
Constructor and Description |
---|
ModelBuildingException(Model model,
String modelId,
List<ModelProblem> problems)
Deprecated.
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.