Package org.apache.maven.execution
Interface MavenExecutionResult
-
- All Known Implementing Classes:
DefaultMavenExecutionResult
public interface MavenExecutionResult- Author:
- Jason van Zyl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddBuildSummary(BuildSummary summary)Add the specified build summary.MavenExecutionResultaddException(java.lang.Throwable e)BuildSummarygetBuildSummary(MavenProject project)Gets the build summary for the specified project.DependencyResolutionResultgetDependencyResolutionResult()java.util.List<java.lang.Throwable>getExceptions()MavenProjectgetProject()java.util.List<MavenProject>getTopologicallySortedProjects()booleanhasExceptions()MavenExecutionResultsetDependencyResolutionResult(DependencyResolutionResult result)MavenExecutionResultsetProject(MavenProject project)MavenExecutionResultsetTopologicallySortedProjects(java.util.List<MavenProject> projects)
-
-
-
Method Detail
-
setProject
MavenExecutionResult setProject(MavenProject project)
-
getProject
MavenProject getProject()
-
setTopologicallySortedProjects
MavenExecutionResult setTopologicallySortedProjects(java.util.List<MavenProject> projects)
-
getTopologicallySortedProjects
java.util.List<MavenProject> getTopologicallySortedProjects()
- Returns:
- the sorted list, or an empty list if there are no projects.
-
setDependencyResolutionResult
MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult result)
-
getDependencyResolutionResult
DependencyResolutionResult getDependencyResolutionResult()
-
getExceptions
java.util.List<java.lang.Throwable> getExceptions()
-
addException
MavenExecutionResult addException(java.lang.Throwable e)
-
hasExceptions
boolean hasExceptions()
-
getBuildSummary
BuildSummary getBuildSummary(MavenProject project)
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
void addBuildSummary(BuildSummary summary)
Add the specified build summary.- Parameters:
summary- The build summary to add, must not benull.
-
-