Interface MavenExecutionResult

All Known Implementing Classes:
DefaultMavenExecutionResult

public interface MavenExecutionResult
  • Method Details

    • setProject

      MavenExecutionResult setProject(MavenProject project)
    • getProject

      MavenProject getProject()
    • setTopologicallySortedProjects

      MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects)
    • getTopologicallySortedProjects

      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

      List<Throwable> getExceptions()
    • addException

    • 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 be null.
      Returns:
      The build summary for the project or null if 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 be null.
    • 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: