public class DefaultMavenExecutionResult extends Object implements MavenExecutionResult
| Constructor and Description |
|---|
DefaultMavenExecutionResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBuildSummary(BuildSummary summary)
Add the specified build summary.
|
MavenExecutionResult |
addException(Throwable t) |
BuildSummary |
getBuildSummary(MavenProject project)
Gets the build summary for the specified project.
|
DependencyResolutionResult |
getDependencyResolutionResult() |
List<Throwable> |
getExceptions() |
MavenProject |
getProject() |
List<MavenProject> |
getTopologicallySortedProjects() |
boolean |
hasExceptions() |
MavenExecutionResult |
setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult) |
MavenExecutionResult |
setProject(MavenProject project) |
MavenExecutionResult |
setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) |
public MavenExecutionResult setProject(MavenProject project)
setProject in interface MavenExecutionResultpublic MavenProject getProject()
getProject in interface MavenExecutionResultpublic MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects)
setTopologicallySortedProjects in interface MavenExecutionResultpublic List<MavenProject> getTopologicallySortedProjects()
getTopologicallySortedProjects in interface MavenExecutionResultpublic DependencyResolutionResult getDependencyResolutionResult()
getDependencyResolutionResult in interface MavenExecutionResultpublic MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult)
setDependencyResolutionResult in interface MavenExecutionResultpublic List<Throwable> getExceptions()
getExceptions in interface MavenExecutionResultpublic MavenExecutionResult addException(Throwable t)
addException in interface MavenExecutionResultpublic boolean hasExceptions()
hasExceptions in interface MavenExecutionResultpublic BuildSummary getBuildSummary(MavenProject project)
MavenExecutionResultgetBuildSummary in interface MavenExecutionResultproject - The project to get the build summary for, must not be null.null if the project has not been built (yet).public void addBuildSummary(BuildSummary summary)
MavenExecutionResultaddBuildSummary in interface MavenExecutionResultsummary - The build summary to add, must not be null.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.