public interface MavenExecutionResult
Modifier and Type | Method and Description |
---|---|
void |
addBuildSummary(BuildSummary summary)
Add the specified build summary.
|
MavenExecutionResult |
addException(Throwable e) |
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 result) |
MavenExecutionResult |
setProject(MavenProject project) |
MavenExecutionResult |
setTopologicallySortedProjects(List<MavenProject> projects) |
MavenExecutionResult setProject(MavenProject project)
MavenProject getProject()
MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects)
List<MavenProject> getTopologicallySortedProjects()
MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult result)
DependencyResolutionResult getDependencyResolutionResult()
MavenExecutionResult addException(Throwable e)
boolean hasExceptions()
BuildSummary getBuildSummary(MavenProject project)
project
- The project to get the build summary for, must not be null
.null
if the project has not been built (yet).void addBuildSummary(BuildSummary summary)
summary
- The build summary to add, must not be null
.boolean canResume()
true
when it is possible to resume the build, false
otherwise.BuildResumptionDataRepository
void setCanResume(boolean canResume)
canResume
- true
when it is possible to resume the build, false
otherwise.BuildResumptionDataRepository
,
canResume()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.