com.atlassian.bamboo.resultsummary
Class ResultsSummaryCriteria
java.lang.Object
com.atlassian.bamboo.resultsummary.ResultsSummaryCriteria
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- BuildResultsSummaryCriteria
public class ResultsSummaryCriteria
- extends java.lang.Object
- implements java.lang.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 |
ResultsSummaryCriteria()
|
ResultsSummaryCriteria(java.lang.Class<? extends ResultsSummary> resultSummaryClass)
|
ResultsSummaryCriteria(java.lang.String buildKey)
|
ResultsSummaryCriteria(java.lang.String planKey,
boolean sortAscending)
|
ResultsSummaryCriteria(java.lang.String planKey,
BuildState buildState)
|
ResultsSummaryCriteria(java.lang.String buildKey,
java.util.Date fromDate,
java.util.Date toDate)
|
ResultsSummaryCriteria(java.lang.String buildKey,
java.util.Date fromDate,
java.util.Date toDate,
int fromBuildNumber,
int toBuildNumber)
|
ResultsSummaryCriteria(java.lang.String planKey,
int numberOfResults)
|
ResultsSummaryCriteria(java.lang.String buildKey,
int fromBuildNumber,
int toBuildNumber)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ResultsSummaryCriteria
public ResultsSummaryCriteria()
ResultsSummaryCriteria
public ResultsSummaryCriteria(java.lang.Class<? extends ResultsSummary> resultSummaryClass)
ResultsSummaryCriteria
public ResultsSummaryCriteria(java.lang.String buildKey,
java.util.Date fromDate,
java.util.Date toDate)
ResultsSummaryCriteria
public ResultsSummaryCriteria(java.lang.String buildKey,
int fromBuildNumber,
int toBuildNumber)
ResultsSummaryCriteria
public ResultsSummaryCriteria(java.lang.String buildKey,
java.util.Date fromDate,
java.util.Date toDate,
int fromBuildNumber,
int toBuildNumber)
ResultsSummaryCriteria
public ResultsSummaryCriteria(java.lang.String buildKey)
ResultsSummaryCriteria
public ResultsSummaryCriteria(java.lang.String planKey,
boolean sortAscending)
ResultsSummaryCriteria
public ResultsSummaryCriteria(java.lang.String planKey,
int numberOfResults)
ResultsSummaryCriteria
public ResultsSummaryCriteria(java.lang.String planKey,
BuildState buildState)
getProjectKeys
@Nullable
public java.util.Set<java.lang.String> getProjectKeys()
setProjectKeys
public ResultsSummaryCriteria setProjectKeys(java.lang.Iterable<java.lang.String> projectKeys)
getProjectKey
@Deprecated
@Nullable
public java.lang.String getProjectKey()
- Deprecated. since 4.0 use @{link #getProjectKeys}
setProjectKey
@Deprecated
public ResultsSummaryCriteria setProjectKey(java.lang.String projectKey)
- Deprecated.
getBuildState
public BuildState getBuildState()
setBuildState
public void setBuildState(BuildState buildState)
isSortAscending
public boolean isSortAscending()
setBuildKey
public void setBuildKey(java.lang.String buildKey)
setSortAscending
public void setSortAscending(boolean sortAscending)
getFromDate
public java.util.Date getFromDate()
getToDate
public java.util.Date getToDate()
getToDateIsNull
@Nullable
public java.lang.Boolean getToDateIsNull()
getFromCreationDate
public java.util.Date getFromCreationDate()
setFromCreationDate
public void setFromCreationDate(java.util.Date fromCreationDate)
getToCreationDate
public java.util.Date getToCreationDate()
setToCreationDate
public void setToCreationDate(java.util.Date toCreationDate)
getFromBuildNumber
public int getFromBuildNumber()
getToBuildNumber
public int getToBuildNumber()
getBuildKey
public java.lang.String getBuildKey()
getMatchesLabels
public java.util.List<Label> getMatchesLabels()
getMatchesJiraIssues
public java.util.List<java.lang.String> getMatchesJiraIssues()
setMatchesJiraIssues
public void setMatchesJiraIssues(java.util.List<java.lang.String> matchesJiraIssues)
setMatchesLabels
public void setMatchesLabels(java.util.List<Label> matchesLabels)
getMatchesCustomDataKeys
public java.util.List<java.lang.String> getMatchesCustomDataKeys()
setMatchesCustomDataKeys
public void setMatchesCustomDataKeys(java.util.List<java.lang.String> matchesCustomDataKeys)
setFromDate
public void setFromDate(java.util.Date fromDate)
setToDate
public void setToDate(java.util.Date toDate)
setToDateIsNull
public void setToDateIsNull(@Nullable
java.lang.Boolean toDateIsNull)
setFromBuildNumber
public void setFromBuildNumber(int fromBuildNumber)
getAgentId
public java.lang.Long getAgentId()
setAgentId
public void setAgentId(java.lang.Long agentId)
getMaxRowCount
public int getMaxRowCount()
setMaxRowCount
public void setMaxRowCount(int maxRowCount)
setToBuildNumber
public void setToBuildNumber(int toBuildNumber)
getSortField
public java.lang.String getSortField()
setSortField
public void setSortField(java.lang.String sortField)
getLifeCycleStates
public java.util.Collection<LifeCycleState> getLifeCycleStates()
setLifeCycleStates
public void setLifeCycleStates(java.util.Set<LifeCycleState> lifeCycleStates)
getContinuable
public com.atlassian.fage.Option<java.lang.Boolean> getContinuable()
setContinuable
public void setContinuable(com.atlassian.fage.Option<java.lang.Boolean> continuable)
getResultSummaryClass
@NotNull
public java.lang.Class<? extends ResultsSummary> getResultSummaryClass()
setResultSummaryClass
public void setResultSummaryClass(@NotNull
java.lang.Class<? extends ResultsSummary> resultSummaryClass)
clone
public ResultsSummaryCriteria clone()
- Overrides:
clone
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object obj)
Copyright © 2012 Atlassian. All Rights Reserved.