public class DefaultMavenExecutionResult extends Object implements MavenExecutionResult
| Constructor and Description | 
|---|
| DefaultMavenExecutionResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addBuildSummary(BuildSummary summary)Add the specified build summary. | 
| MavenExecutionResult | addException(Throwable t) | 
| boolean | canResume()Indicates whether or not the build could be resumed by a second invocation of Maven. | 
| BuildSummary | getBuildSummary(MavenProject project)Gets the build summary for the specified project. | 
| DependencyResolutionResult | getDependencyResolutionResult() | 
| List<Throwable> | getExceptions() | 
| MavenProject | getProject() | 
| List<MavenProject> | getTopologicallySortedProjects() | 
| boolean | hasExceptions() | 
| void | setCanResume(boolean canResume)Indicate that the build can or cannot be resumed by a second invocation of Maven. | 
| MavenExecutionResult | setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult) | 
| MavenExecutionResult | setProject(MavenProject project) | 
| MavenExecutionResult | setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) | 
public MavenExecutionResult setProject(MavenProject project)
setProject in interface MavenExecutionResultpublic MavenProject getProject()
getProject in interface MavenExecutionResultpublic MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects)
setTopologicallySortedProjects in interface MavenExecutionResultpublic List<MavenProject> getTopologicallySortedProjects()
getTopologicallySortedProjects in interface MavenExecutionResultpublic DependencyResolutionResult getDependencyResolutionResult()
getDependencyResolutionResult in interface MavenExecutionResultpublic MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult)
setDependencyResolutionResult in interface MavenExecutionResultpublic List<Throwable> getExceptions()
getExceptions in interface MavenExecutionResultpublic MavenExecutionResult addException(Throwable t)
addException in interface MavenExecutionResultpublic boolean hasExceptions()
hasExceptions in interface MavenExecutionResultpublic BuildSummary getBuildSummary(MavenProject project)
MavenExecutionResultgetBuildSummary in interface MavenExecutionResultproject - The project to get the build summary for, must not be null.null if the project has not been built (yet).public void addBuildSummary(BuildSummary summary)
MavenExecutionResultaddBuildSummary in interface MavenExecutionResultsummary - The build summary to add, must not be null.public boolean canResume()
MavenExecutionResultcanResume in interface MavenExecutionResulttrue when it is possible to resume the build, false otherwise.BuildResumptionDataRepositorypublic void setCanResume(boolean canResume)
MavenExecutionResultsetCanResume in interface MavenExecutionResultcanResume - true when it is possible to resume the build, false otherwise.BuildResumptionDataRepository, 
MavenExecutionResult.canResume()Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.