Interface BuildTimeProvider

    • Method Detail

      • getBuildTimeInfos

        @NotNull
        Map<String,​BuildTimeInfo> getBuildTimeInfos​(@NotNull
                                                          SProject project,
                                                          @NotNull
                                                          DateRange dateRange)
        Returns build time statistic for all builds belongs to particular project in requested period of time
        Parameters:
        project -
        dateRange -
        Returns:
      • getBuildTimeInfos

        @NotNull
        Map<String,​BuildTimeInfo> getBuildTimeInfos​(@NotNull
                                                          SProject project,
                                                          @NotNull
                                                          DateRange dateRange,
                                                          @Nullable
                                                          Collection<Integer> agentIds)
        Returns build time statistic for all builds from specified agents belongs to particular project in requested period of time
        Parameters:
        project -
        dateRange -
        Returns:
      • getBuildTimeInfoByAgents

        @NotNull
        Map<Key,​BuildTimeInfo> getBuildTimeInfoByAgents​(@NotNull
                                                              SProject project,
                                                              @NotNull
                                                              DateRange dateRange)
        Returns build time statistic for all builds belongs to particular project in requested period of time grouped by agents
        Parameters:
        project -
        dateRange -
        Returns:
      • getLastUpdated

        @NotNull
        Date getLastUpdated()