Class BuildSummary

  • Direct Known Subclasses:
    BuildFailure, BuildSuccess

    public abstract class BuildSummary
    extends java.lang.Object
    Summarizes the result of a project build in the reactor.
    Author:
    Benjamin Bentmann
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BuildSummary​(MavenProject project, long time)
      Creates a new build summary for the specified project.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MavenProject getProject()
      Gets the project being summarized.
      long getTime()
      Gets the build time of the project in milliseconds.
      • Methods inherited from class java.lang.Object

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

      • BuildSummary

        protected BuildSummary​(MavenProject project,
                               long time)
        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.
    • Method Detail

      • getProject

        public MavenProject getProject()
        Gets the project being summarized.
        Returns:
        The project being summarized, never null.
      • getTime

        public long getTime()
        Gets the build time of the project in milliseconds.
        Returns:
        The build time of the project in milliseconds.