Class BuildFailure


  • public class BuildFailure
    extends BuildSummary
    Summarizes the result of a failed project build in the reactor.
    Author:
    Benjamin Bentmann
    • Constructor Summary

      Constructors 
      Constructor Description
      BuildFailure​(MavenProject project, long time, java.lang.Throwable cause)
      Creates a new build summary for the specified project.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Gets the cause of the build failure.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BuildFailure

        public BuildFailure​(MavenProject project,
                            long time,
                            java.lang.Throwable cause)
        Creates a new build summary for the specified project.
        Parameters:
        project - The project being summarized, must not be null.
        time - The build time of the project in milliseconds.
        cause - The cause of the build failure, may be null.
    • Method Detail

      • getCause

        public java.lang.Throwable getCause()
        Gets the cause of the build failure.
        Returns:
        The cause of the build failure or null if unknown.