org.apache.maven.execution
Interface MavenExecutionResult
- All Known Implementing Classes:
- DefaultMavenExecutionResult
public interface MavenExecutionResult
- Author:
- Jason van Zyl
setProject
MavenExecutionResult setProject(MavenProject project)
getProject
MavenProject getProject()
setTopologicallySortedProjects
MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects)
getTopologicallySortedProjects
List<MavenProject> getTopologicallySortedProjects()
- Returns:
- the sorted list, or an empty list if there are no projects.
setDependencyResolutionResult
MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult result)
getDependencyResolutionResult
DependencyResolutionResult getDependencyResolutionResult()
getExceptions
List<Throwable> getExceptions()
addException
MavenExecutionResult addException(Throwable e)
hasExceptions
boolean hasExceptions()
getBuildSummary
BuildSummary getBuildSummary(MavenProject project)
- Gets the build summary for the specified project.
- Parameters:
project
- The project to get the build summary for, must not be null
.
- Returns:
- The build summary for the project or
null
if the project has not been built (yet).
addBuildSummary
void addBuildSummary(BuildSummary summary)
- Add the specified build summary.
- Parameters:
summary
- The build summary to add, must not be null
.
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.