Interface DependencyGraphEstimate

    • Method Detail

      • getEstimationForTimeLeft

        long getEstimationForTimeLeft​(boolean includeTopBuild)
        Returns server estimate for all builds in graph to finish
        Parameters:
        includeTopBuild - - if false, do not include build time of the top build
        Returns:
        estimation for time left to finish all builds in graph in milliseconds or -1 if estimate is not available.
      • getDurationOvertime

        long getDurationOvertime​(boolean includeTopBuild)
        Returns current overtime for builds graph, or -1 if there is no overtime or estimate is not available.
        Parameters:
        includeTopBuild - - if false, do not include overtime of the top build
        Returns:
        see above
      • getCompletedPercent

        int getCompletedPercent​(boolean includeTopBuild)
        Returns string representing progress in percents.
        Parameters:
        includeTopBuild - - if false, do not include build time of top build
        Returns:
        Returns progress in percents
      • getStartedDate

        @Nullable
        Date getStartedDate()
        Get date of first build in chain started. Does not include builds, substituded by chain optimizer
        Returns:
        null if chain has not been started yet, otherwise see above
      • getTimePassed

        long getTimePassed()
        Get number of millis passed since start of the chain
        Returns:
        number of milliseconds since chain start