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 Summary
Constructors Constructor Description ResultsSummaryCriteria()
ResultsSummaryCriteria(Class<? extends ResultsSummary> resultSummaryClass)
ResultsSummaryCriteria(String buildKey)
ResultsSummaryCriteria(String planKey, boolean sortAscending)
ResultsSummaryCriteria(String planKey, int numberOfResults)
ResultsSummaryCriteria(String buildKey, int fromBuildNumber, int toBuildNumber)
ResultsSummaryCriteria(String planKey, BuildState buildState)
ResultsSummaryCriteria(String buildKey, Date fromDate, Date toDate)
ResultsSummaryCriteria(String buildKey, Date fromDate, Date toDate, int fromBuildNumber, int toBuildNumber)
-
Method Summary
-
-
-
Constructor Detail
-
ResultsSummaryCriteria
public ResultsSummaryCriteria()
-
ResultsSummaryCriteria
public ResultsSummaryCriteria(Class<? extends ResultsSummary> resultSummaryClass)
-
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 Detail
-
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()
-
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)
-
setContinuable
public void setContinuable(boolean continuable)
-
getResultSummaryClass
@NotNull public @NotNull Class<? extends ResultsSummary> getResultSummaryClass()
-
setResultSummaryClass
public void setResultSummaryClass(@NotNull @NotNull Class<? extends ResultsSummary> resultSummaryClass)
-
setSpecsResult
public void setSpecsResult(boolean isSpecsResult)
-
setMaxFormatVersion
public void setMaxFormatVersion(int maxFormatVersion)
-
setOnceOff
public void setOnceOff(boolean onceOff)
-
clone
public ResultsSummaryCriteria clone()
-
compareTo
public int compareTo(Object obj)
-
-