Package | Description |
---|---|
org.apache.maven.model.building |
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 <T> Result<T> |
Result.addProblems(Result<T> result,
Iterable<? extends ModelProblem> problems)
New result that includes the given
|
static <T> Result<T> |
Result.addProblems(Result<T> result,
Result<?>... results) |
Result<? extends Model> |
ModelBuilder.buildRawModel(File pomFile,
int validationLevel,
boolean locationTracking)
Performs only the part of
ModelBuilder.build(ModelBuildingRequest) that loads the raw model |
Result<? extends Model> |
DefaultModelBuilder.buildRawModel(File pomFile,
int validationLevel,
boolean locationTracking) |
static <T> Result<T> |
Result.error(Iterable<? extends ModelProblem> problems)
Error with problems describing the cause
|
static <T> Result<T> |
Result.error(Result<?>... results) |
static <T> Result<T> |
Result.error(Result<?> result) |
static <T> Result<T> |
Result.error(T model) |
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<Iterable<T>> |
Result.newResultSet(Iterable<? extends Result<? extends T>> results)
Turns the given results into a single result by combining problems and models into single collection.
|
static <T> Result<T> |
Result.success(T model)
Success without warnings
|
static <T> Result<T> |
Result.success(T model,
Iterable<? extends ModelProblem> problems)
Success with warnings
|
static <T> Result<T> |
Result.success(T model,
Result<?>... results)
Success with warnings
|
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 <T> Result<T> |
Result.addProblems(Result<T> result,
Iterable<? extends ModelProblem> problems)
New result that includes the given
|
static <T> Result<T> |
Result.addProblems(Result<T> result,
Result<?>... results) |
static <T> Result<T> |
Result.addProblems(Result<T> result,
Result<?>... results) |
static <T> Result<T> |
Result.error(Result<?>... results) |
static <T> Result<T> |
Result.error(Result<?> result) |
static <T> Result<T> |
Result.success(T model,
Result<?>... results)
Success with warnings
|
Modifier and Type | Method and Description |
---|---|
static <T> Result<Iterable<T>> |
Result.newResultSet(Iterable<? extends Result<? extends T>> results)
Turns the given results into a single result by combining problems and models into single collection.
|
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.