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> |
DefaultModelBuilder.buildRawModel(File pomFile,
int validationLevel,
boolean locationTracking) |
|
Result<? extends Model> |
ModelBuilder.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<?> result) |
|
static <T> Result<T> |
Result.error(Result<?>... results) |
|
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
|