Package | Description |
---|---|
org.apache.maven | |
org.apache.maven.graph | |
org.apache.maven.model.building |
Modifier and Type | Method and Description |
---|---|
private Result<? extends ProjectDependencyGraph> |
DefaultMaven.buildGraph(MavenSession session,
MavenExecutionResult result) |
Modifier and Type | Method and Description |
---|---|
Result<ProjectDependencyGraph> |
DefaultGraphBuilder.build(MavenSession session) |
Result<? extends ProjectDependencyGraph> |
GraphBuilder.build(MavenSession session) |
private Result<ProjectDependencyGraph> |
DefaultGraphBuilder.reactorDependencyGraph(MavenSession session,
java.util.List<MavenProject> projects) |
private Result<ProjectDependencyGraph> |
DefaultGraphBuilder.sessionDependencyGraph(MavenSession session) |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.base.Function<Result<?>,java.lang.Iterable<? extends ModelProblem>> |
Result.GET_PROBLEMS |
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,
java.lang.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(java.io.File pomFile,
int validationLevel,
boolean locationTracking)
Performs only the part of
ModelBuilder.build(ModelBuildingRequest) that loads the raw model |
Result<? extends Model> |
DefaultModelBuilder.buildRawModel(java.io.File pomFile,
int validationLevel,
boolean locationTracking) |
static <T> Result<T> |
Result.error(java.lang.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,
java.lang.Iterable<? extends ModelProblem> problems)
Error with partial result and problems describing the cause
|
static <T> Result<T> |
Result.newResult(T model,
java.lang.Iterable<? extends ModelProblem> problems)
New result - determine whether error or success by checking problems for errors
|
static <T> Result<java.lang.Iterable<T>> |
Result.newResultSet(java.lang.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,
java.lang.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,
java.lang.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<java.lang.Iterable<T>> |
Result.newResultSet(java.lang.Iterable<? extends Result<? extends T>> results)
Turns the given results into a single result by combining problems and models into single collection.
|