Package org.apache.maven.execution
Class DefaultMavenExecutionResult
java.lang.Object
org.apache.maven.execution.DefaultMavenExecutionResult
- All Implemented Interfaces:
 MavenExecutionResult
- Author:
 - Jason van Zyl
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddBuildSummary(BuildSummary summary) Add the specified build summary.getBuildSummary(MavenProject project) Gets the build summary for the specified project.booleansetDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult) setProject(MavenProject project) setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects)  
- 
Constructor Details
- 
DefaultMavenExecutionResult
public DefaultMavenExecutionResult() 
 - 
 - 
Method Details
- 
setProject
- Specified by:
 setProjectin interfaceMavenExecutionResult
 - 
getProject
- Specified by:
 getProjectin interfaceMavenExecutionResult
 - 
setTopologicallySortedProjects
public MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) - Specified by:
 setTopologicallySortedProjectsin interfaceMavenExecutionResult
 - 
getTopologicallySortedProjects
- Specified by:
 getTopologicallySortedProjectsin interfaceMavenExecutionResult- Returns:
 - the sorted list, or an empty list if there are no projects.
 
 - 
getDependencyResolutionResult
- Specified by:
 getDependencyResolutionResultin interfaceMavenExecutionResult
 - 
setDependencyResolutionResult
public MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult) - Specified by:
 setDependencyResolutionResultin interfaceMavenExecutionResult
 - 
getExceptions
- Specified by:
 getExceptionsin interfaceMavenExecutionResult
 - 
addException
- Specified by:
 addExceptionin interfaceMavenExecutionResult
 - 
hasExceptions
public boolean hasExceptions()- Specified by:
 hasExceptionsin interfaceMavenExecutionResult
 - 
getBuildSummary
Description copied from interface:MavenExecutionResultGets the build summary for the specified project.- Specified by:
 getBuildSummaryin interfaceMavenExecutionResult- Parameters:
 project- The project to get the build summary for, must not benull.- Returns:
 - The build summary for the project or 
nullif the project has not been built (yet). 
 - 
addBuildSummary
Description copied from interface:MavenExecutionResultAdd the specified build summary.- Specified by:
 addBuildSummaryin interfaceMavenExecutionResult- Parameters:
 summary- The build summary to add, must not benull.
 
 -