Package org.apache.maven.execution
Interface MavenExecutionResult
- All Known Implementing Classes:
- DefaultMavenExecutionResult
public interface MavenExecutionResult
- 
Method SummaryModifier 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
- 
getProjectMavenProject getProject()
- 
setTopologicallySortedProjects
- 
getTopologicallySortedProjectsList<MavenProject> getTopologicallySortedProjects()- Returns:
- the sorted list, or an empty list if there are no projects.
 
- 
setDependencyResolutionResult
- 
getDependencyResolutionResultDependencyResolutionResult getDependencyResolutionResult()
- 
getExceptions
- 
addException
- 
hasExceptionsboolean hasExceptions()
- 
getBuildSummaryGets 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 nullif the project has not been built (yet).
 
- 
addBuildSummaryAdd the specified build summary.- Parameters:
- summary- The build summary to add, must not be- null.
 
- 
canResumeboolean 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:
 
- 
setCanResumevoid 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:
 
 
-