Package org.apache.maven.execution
Class DefaultMavenExecutionResult
java.lang.Object
org.apache.maven.execution.DefaultMavenExecutionResult
- All Implemented Interfaces:
 MavenExecutionResult
- 
Constructor Summary
Constructors - 
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.setDependencyResolutionResult(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.
 - 
canResume
public boolean canResume()Description copied from interface:MavenExecutionResultIndicates whether or not the build could be resumed by a second invocation of Maven.- Specified by:
 canResumein interfaceMavenExecutionResult- Returns:
 truewhen it is possible to resume the build,falseotherwise.- See Also:
 
 - 
setCanResume
public 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 interfaceMavenExecutionResult- Parameters:
 canResume-truewhen it is possible to resume the build,falseotherwise.- See Also:
 
 
 -