Interface BuildResultsFilter

    • Method Detail

      • getLabel

        String getLabel()
        The filter's label in the gui
        Returns:
        The text to appear in the web drop down
      • getCookieKey

        String getCookieKey()
        The key to store in the cookie.
        Returns:
        the cookie key for this filter.
      • getResultsForPlan

        @NotNull
        @NotNull List<ResultsSummary> getResultsForPlan​(@Nullable
                                                        @Nullable ImmutablePlan plan)
        Obtain a collection of ResultsSummary for the specified plan The number returned will depend on the filter applied.
        Parameters:
        plan - to get results for
        Returns:
        The filtered list of build result summaries
      • getBuildResultsForAgent

        @NotNull
        @NotNull List<BuildResultsSummary> getBuildResultsForAgent​(Long agentId)
        Obtain a collection of BuildResultsSummary for a specified agentId. The number returned will depend on the filter applied.
        Parameters:
        agentId - if of an agent
        Returns:
        The filtered list of build result summaries
      • getFromBuildNumber

        int getFromBuildNumber​(@NotNull
                               @NotNull PlanKey planKey)
        The build number (inclusive) that extrenal callers can use to filter for a given plan. 0 if not filtered by number
        Parameters:
        planKey -
        Returns:
      • getFromDate

        @Nullable
        @Nullable Date getFromDate()
        Lower bound date to filter by. Null if not a date filter
        Returns: