org.apache.maven.execution
Interface MavenExecutionResult

All Known Implementing Classes:
DefaultMavenExecutionResult

public interface MavenExecutionResult

Author:
Jason van Zyl

Method Summary
 void addBuildSummary(BuildSummary summary)
          Add the specified build summary.
 MavenExecutionResult addException(Throwable e)
           
 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 result)
           
 MavenExecutionResult setProject(MavenProject project)
           
 MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects)
           
 

Method Detail

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-2010 The Apache Software Foundation. All Rights Reserved.