com.atlassian.bamboo.resultsummary
Class BuildResultsSummaryCriteria

java.lang.Object
  extended by com.atlassian.bamboo.resultsummary.BuildResultsSummaryCriteria
All Implemented Interfaces:
java.lang.Cloneable

public class BuildResultsSummaryCriteria
extends java.lang.Object
implements java.lang.Cloneable

Simple POJO for storing basic build results summary criteria to be used by various searchers


Constructor Summary
BuildResultsSummaryCriteria()
           
BuildResultsSummaryCriteria(java.lang.String buildKey)
           
BuildResultsSummaryCriteria(java.lang.String planKey, boolean sortAscending)
           
BuildResultsSummaryCriteria(java.lang.String planKey, BuildState buildState)
           
BuildResultsSummaryCriteria(java.lang.String buildKey, java.util.Date fromDate, java.util.Date toDate)
           
BuildResultsSummaryCriteria(java.lang.String buildKey, java.util.Date fromDate, java.util.Date toDate, int fromBuildNumber, int toBuildNumber)
           
BuildResultsSummaryCriteria(java.lang.String planKey, int numberOfResults)
           
BuildResultsSummaryCriteria(java.lang.String buildKey, int fromBuildNumber, int toBuildNumber)
           
 
Method Summary
 BuildResultsSummaryCriteria 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 getFromDate()
           
 java.util.List<java.lang.String> getMatchesJiraIssues()
           
 java.util.List<Label> getMatchesLabels()
           
 int getMaxRowCount()
           
 java.lang.String getProjectKey()
           
 java.lang.String getSortField()
           
 int getToBuildNumber()
           
 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 setFromDate(java.util.Date fromDate)
           
 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 setSortAscending(boolean sortAscending)
           
 void setSortField(java.lang.String sortField)
           
 void setToBuildNumber(int toBuildNumber)
           
 void setToDate(java.util.Date toDate)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildResultsSummaryCriteria

public BuildResultsSummaryCriteria()

BuildResultsSummaryCriteria

public BuildResultsSummaryCriteria(java.lang.String buildKey,
                                   java.util.Date fromDate,
                                   java.util.Date toDate)

BuildResultsSummaryCriteria

public BuildResultsSummaryCriteria(java.lang.String buildKey,
                                   int fromBuildNumber,
                                   int toBuildNumber)

BuildResultsSummaryCriteria

public BuildResultsSummaryCriteria(java.lang.String buildKey,
                                   java.util.Date fromDate,
                                   java.util.Date toDate,
                                   int fromBuildNumber,
                                   int toBuildNumber)

BuildResultsSummaryCriteria

public BuildResultsSummaryCriteria(java.lang.String buildKey)

BuildResultsSummaryCriteria

public BuildResultsSummaryCriteria(java.lang.String planKey,
                                   boolean sortAscending)

BuildResultsSummaryCriteria

public BuildResultsSummaryCriteria(java.lang.String planKey,
                                   int numberOfResults)

BuildResultsSummaryCriteria

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

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)

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)

clone

public final BuildResultsSummaryCriteria 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 © 2010 Atlassian. All Rights Reserved.