com.atlassian.bamboo.resultsummary
Class ResultsSummaryCriteria

java.lang.Object
  extended by 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)
           
 
Method Summary
 ResultsSummaryCriteria clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.lang.Long getAgentId()
           
 java.lang.String getBuildKey()
           
 BuildState getBuildState()
           
 int getFromBuildNumber()
           
 java.util.Date getFromCreationDate()
           
 java.util.Date getFromDate()
           
 java.util.Collection<LifeCycleState> getLifeCycleStates()
           
 java.util.List<java.lang.String> getMatchesCustomDataKeys()
           
 java.util.List<java.lang.String> getMatchesJiraIssues()
           
 java.util.List<Label> getMatchesLabels()
           
 int getMaxRowCount()
           
 java.lang.String getProjectKey()
           
 java.lang.Class<? extends ResultsSummary> getResultSummaryClass()
           
 java.lang.String getSortField()
           
 int getToBuildNumber()
           
 java.util.Date getToCreationDate()
           
 java.util.Date getToDate()
           
 int hashCode()
           
 boolean isSortAscending()
           
 void setAgentId(java.lang.Long agentId)
           
 void setBuildKey(java.lang.String buildKey)
           
 void setBuildState(BuildState buildState)
           
 void setFromBuildNumber(int fromBuildNumber)
           
 void setFromCreationDate(java.util.Date fromCreationDate)
           
 void setFromDate(java.util.Date fromDate)
           
 void setLifeCycleStates(java.util.Set<LifeCycleState> lifeCycleStates)
           
 void setMatchesCustomDataKeys(java.util.List<java.lang.String> matchesCustomDataKeys)
           
 void setMatchesJiraIssues(java.util.List<java.lang.String> matchesJiraIssues)
           
 void setMatchesLabels(java.util.List<Label> matchesLabels)
           
 void setMaxRowCount(int maxRowCount)
           
 void setProjectKey(java.lang.String projectKey)
           
 void setResultSummaryClass(java.lang.Class<? extends ResultsSummary> resultSummaryClass)
           
 void setSortAscending(boolean sortAscending)
           
 void setSortField(java.lang.String sortField)
           
 void setToBuildNumber(int toBuildNumber)
           
 void setToCreationDate(java.util.Date toCreationDate)
           
 void setToDate(java.util.Date toDate)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

getProjectKey

public java.lang.String getProjectKey()

setProjectKey

public void setProjectKey(java.lang.String projectKey)

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()

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)

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)

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 © 2011 Atlassian. All Rights Reserved.