Package org.apache.maven.execution
Class DefaultMavenExecutionResult
java.lang.Object
org.apache.maven.execution.DefaultMavenExecutionResult
- All Implemented Interfaces:
- MavenExecutionResult
- Author:
- Jason van Zyl
- 
Constructor SummaryConstructors
- 
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.setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult) setProject(MavenProject project) setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) 
- 
Constructor Details- 
DefaultMavenExecutionResultpublic DefaultMavenExecutionResult()
 
- 
- 
Method Details- 
setProject- Specified by:
- setProjectin interface- MavenExecutionResult
 
- 
getProject- Specified by:
- getProjectin interface- MavenExecutionResult
 
- 
setTopologicallySortedProjectspublic MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) - Specified by:
- setTopologicallySortedProjectsin interface- MavenExecutionResult
 
- 
getTopologicallySortedProjects- Specified by:
- getTopologicallySortedProjectsin interface- MavenExecutionResult
- Returns:
- the sorted list, or an empty list if there are no projects.
 
- 
getDependencyResolutionResult- Specified by:
- getDependencyResolutionResultin interface- MavenExecutionResult
 
- 
setDependencyResolutionResultpublic MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult) - Specified by:
- setDependencyResolutionResultin interface- MavenExecutionResult
 
- 
getExceptions- Specified by:
- getExceptionsin interface- MavenExecutionResult
 
- 
addException- Specified by:
- addExceptionin interface- MavenExecutionResult
 
- 
hasExceptionspublic boolean hasExceptions()- Specified by:
- hasExceptionsin interface- MavenExecutionResult
 
- 
getBuildSummaryDescription copied from interface:MavenExecutionResultGets the build summary for the specified project.- Specified by:
- getBuildSummaryin interface- MavenExecutionResult
- 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).
 
- 
addBuildSummaryDescription copied from interface:MavenExecutionResultAdd the specified build summary.- Specified by:
- addBuildSummaryin interface- MavenExecutionResult
- Parameters:
- summary- The build summary to add, must not be- null.
 
- 
canResumepublic boolean canResume()Description copied from interface:MavenExecutionResultIndicates whether or not the build could be resumed by a second invocation of Maven.- Specified by:
- canResumein interface- MavenExecutionResult
- Returns:
- truewhen it is possible to resume the build,- falseotherwise.
- See Also:
 
- 
setCanResumepublic void setCanResume(boolean canResume) Description copied from interface:MavenExecutionResultIndicate that the build can or cannot be resumed by a second invocation of Maven.- Specified by:
- setCanResumein interface- MavenExecutionResult
- Parameters:
- canResume-- truewhen it is possible to resume the build,- falseotherwise.
- See Also:
 
 
-