Interface MavenExecutionResult

All Known Implementing Classes:
DefaultMavenExecutionResult

public interface MavenExecutionResult
  • Method Details Link icon

    • setProject Link icon

      MavenExecutionResult setProject(MavenProject project)
    • getProject Link icon

      MavenProject getProject()
    • setTopologicallySortedProjects Link icon

      MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects)
    • getTopologicallySortedProjects Link icon

      List<MavenProject> getTopologicallySortedProjects()
      Returns:
      the sorted list, or an empty list if there are no projects.
    • setDependencyResolutionResult Link icon

      MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult result)
    • getDependencyResolutionResult Link icon

      DependencyResolutionResult getDependencyResolutionResult()
    • getExceptions Link icon

      List<Throwable> getExceptions()
    • addException Link icon

    • hasExceptions Link icon

      boolean hasExceptions()
    • getBuildSummary Link icon

      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 Link icon

      void addBuildSummary(BuildSummary summary)
      Add the specified build summary.
      Parameters:
      summary - The build summary to add, must not be null.
    • canResume Link icon

      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 Link icon

      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: