Package org.apache.maven.execution
Interface MavenExecutionResult
- All Known Implementing Classes:
 DefaultMavenExecutionResult
public interface MavenExecutionResult
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddBuildSummary(BuildSummary summary) Add the specified build summary.booleanIndicates whether or not the build could be resumed by a second invocation of Maven.getBuildSummary(MavenProject project) Gets the build summary for the specified project.booleanvoidsetCanResume(boolean canResume) Indicate that the build can or cannot be resumed by a second invocation of Maven.setProject(MavenProject project) setTopologicallySortedProjects(List<MavenProject> projects)  
- 
Method Details
- 
setProject
 - 
getProject
MavenProject getProject() - 
setTopologicallySortedProjects
 - 
getTopologicallySortedProjects
List<MavenProject> getTopologicallySortedProjects()- Returns:
 - the sorted list, or an empty list if there are no projects.
 
 - 
setDependencyResolutionResult
 - 
getDependencyResolutionResult
DependencyResolutionResult getDependencyResolutionResult() - 
getExceptions
 - 
addException
 - 
hasExceptions
boolean hasExceptions() - 
getBuildSummary
Gets the build summary for the specified project.- 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
Add the specified build summary.- Parameters:
 summary- The build summary to add, must not benull.
 - 
canResume
boolean canResume()Indicates whether or not the build could be resumed by a second invocation of Maven.- Returns:
 truewhen it is possible to resume the build,falseotherwise.- See Also:
 
 - 
setCanResume
void setCanResume(boolean canResume) Indicate that the build can or cannot be resumed by a second invocation of Maven.- Parameters:
 canResume-truewhen it is possible to resume the build,falseotherwise.- See Also:
 
 
 -