Class ResultsSummaryCriteria

java.lang.Object
com.atlassian.bamboo.resultsummary.ResultsSummaryCriteria
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
BuildResultsSummaryCriteria

@PublicApi public class ResultsSummaryCriteria extends Object implements Cloneable
Simple POJO for storing basic build results summary criteria to be used by various searchers Allows narrowing criteria to either chain results or build results. By default searches for both.
  • Constructor Details

    • ResultsSummaryCriteria

      public ResultsSummaryCriteria()
    • ResultsSummaryCriteria

      public ResultsSummaryCriteria(Class<? extends ResultsSummary> resultSummaryClass)
    • ResultsSummaryCriteria

      public ResultsSummaryCriteria(String buildKey, Date fromDate, Date toDate)
    • ResultsSummaryCriteria

      public ResultsSummaryCriteria(String buildKey, int fromBuildNumber, int toBuildNumber)
    • ResultsSummaryCriteria

      public ResultsSummaryCriteria(String buildKey, Date fromDate, Date toDate, int fromBuildNumber, int toBuildNumber)
    • ResultsSummaryCriteria

      public ResultsSummaryCriteria(String buildKey)
    • ResultsSummaryCriteria

      public ResultsSummaryCriteria(String planKey, boolean sortAscending)
    • ResultsSummaryCriteria

      public ResultsSummaryCriteria(String planKey, int numberOfResults)
    • ResultsSummaryCriteria

      public ResultsSummaryCriteria(String planKey, BuildState buildState)
  • Method Details

    • getProjectKeys

      @Nullable public @Nullable Set<String> getProjectKeys()
    • setProjectKeys

      public ResultsSummaryCriteria setProjectKeys(Iterable<String> projectKeys)
    • getBuildState

      public BuildState getBuildState()
    • setBuildState

      public void setBuildState(BuildState buildState)
    • isSortAscending

      public boolean isSortAscending()
    • setBuildKey

      public void setBuildKey(String buildKey)
    • setSortAscending

      public void setSortAscending(boolean sortAscending)
    • getFromDate

      public Date getFromDate()
    • getToDate

      public Date getToDate()
    • getToDateIsNull

      @Nullable public @Nullable Boolean getToDateIsNull()
    • getFromCreationDate

      public Date getFromCreationDate()
    • setFromCreationDate

      public void setFromCreationDate(Date fromCreationDate)
    • getToCreationDate

      public Date getToCreationDate()
    • setToCreationDate

      public void setToCreationDate(Date toCreationDate)
    • getFromBuildNumber

      public int getFromBuildNumber()
    • getToBuildNumber

      public int getToBuildNumber()
    • getBuildKey

      public String getBuildKey()
    • getMatchesLabels

      public List<Label> getMatchesLabels()
    • getMatchesJiraIssues

      public List<String> getMatchesJiraIssues()
    • setMatchesJiraIssues

      public void setMatchesJiraIssues(List<String> matchesJiraIssues)
    • setMatchesLabels

      public void setMatchesLabels(List<Label> matchesLabels)
    • getMatchesCustomDataKeys

      public List<String> getMatchesCustomDataKeys()
    • setMatchesCustomDataKeys

      public void setMatchesCustomDataKeys(List<String> matchesCustomDataKeys)
    • setFromDate

      public void setFromDate(Date fromDate)
    • setToDate

      public void setToDate(Date toDate)
    • setToDateIsNull

      public void setToDateIsNull(@Nullable @Nullable Boolean toDateIsNull)
    • setFromBuildNumber

      public void setFromBuildNumber(int fromBuildNumber)
    • getAgentId

      public Long getAgentId()
    • setAgentId

      public void setAgentId(Long agentId)
    • getFirstResult

      public int getFirstResult()
    • setFirstResult

      public void setFirstResult(int firstResult)
    • getMaxRowCount

      public int getMaxRowCount()
    • setMaxRowCount

      public void setMaxRowCount(int maxRowCount)
    • setToBuildNumber

      public void setToBuildNumber(int toBuildNumber)
    • isSorted

      public boolean isSorted()
    • setSorted

      public void setSorted(boolean sorted)
    • getSortField

      public String getSortField()
    • setSortField

      public void setSortField(String sortField)
    • getLifeCycleStates

      public Collection<LifeCycleState> getLifeCycleStates()
    • setLifeCycleStates

      public void setLifeCycleStates(Set<LifeCycleState> lifeCycleStates)
    • isContinuable

      public Optional<Boolean> isContinuable()
    • setContinuable

      public void setContinuable(boolean continuable)
    • getResultSummaryClass

      @NotNull public @NotNull Class<? extends ResultsSummary> getResultSummaryClass()
    • setResultSummaryClass

      public void setResultSummaryClass(@NotNull @NotNull Class<? extends ResultsSummary> resultSummaryClass)
    • isSpecsResult

      public Optional<Boolean> isSpecsResult()
    • setSpecsResult

      public void setSpecsResult(boolean isSpecsResult)
    • getMaxFormatVersion

      public Optional<Integer> getMaxFormatVersion()
    • setMaxFormatVersion

      public void setMaxFormatVersion(int maxFormatVersion)
    • isOnceOff

      public Optional<Boolean> isOnceOff()
    • setOnceOff

      public void setOnceOff(boolean onceOff)
    • clone

      public ResultsSummaryCriteria clone()
      Overrides:
      clone in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(Object obj)