Package org.apache.maven.execution
Interface MavenExecutionResult
- All Known Implementing Classes:
DefaultMavenExecutionResult
public interface MavenExecutionResult
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBuildSummary
(BuildSummary summary) Add the specified build summary.boolean
Indicates 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.boolean
void
setCanResume
(boolean canResume) Indicate that the build can or cannot be resumed by a second invocation of Maven.setProject
(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
null
if the project has not been built (yet).
-
addBuildSummary
Add the specified build summary.- Parameters:
summary
- The build summary to add, must not benull
.
-
canResume
boolean canResume()Indicates whether or not the build could be resumed by a second invocation of Maven.- Returns:
true
when it is possible to resume the build,false
otherwise.- See Also:
-
setCanResume
void setCanResume(boolean canResume) Indicate that the build can or cannot be resumed by a second invocation of Maven.- Parameters:
canResume
-true
when it is possible to resume the build,false
otherwise.- See Also:
-