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 MavenExecutionResult
public MavenProject getProject()
getProject
in interface MavenExecutionResult
public MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects)
setTopologicallySortedProjects
in interface MavenExecutionResult
public List<MavenProject> getTopologicallySortedProjects()
getTopologicallySortedProjects
in interface MavenExecutionResult
public DependencyResolutionResult getDependencyResolutionResult()
getDependencyResolutionResult
in interface MavenExecutionResult
public MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult)
setDependencyResolutionResult
in interface MavenExecutionResult
public List<Throwable> getExceptions()
getExceptions
in interface MavenExecutionResult
public MavenExecutionResult addException(Throwable t)
addException
in interface MavenExecutionResult
public boolean hasExceptions()
hasExceptions
in interface MavenExecutionResult
public BuildSummary getBuildSummary(MavenProject project)
MavenExecutionResult
getBuildSummary
in interface MavenExecutionResult
project
- 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)
MavenExecutionResult
addBuildSummary
in interface MavenExecutionResult
summary
- The build summary to add, must not be null
.Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.