Package org.apache.maven.execution
Interface MavenExecutionResult
- All Known Implementing Classes:
DefaultMavenExecutionResult
public interface MavenExecutionResult
- Author:
- Jason van Zyl
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddBuildSummary(BuildSummary summary) Add the specified build summary.getBuildSummary(MavenProject project) Gets the build summary for the specified project.booleansetProject(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.
-