com.atlassian.bamboo.resultsummary
Class ResultsSummaryCriteriaBuilder

java.lang.Object
  extended by com.atlassian.bamboo.resultsummary.ResultsSummaryCriteriaBuilder

public class ResultsSummaryCriteriaBuilder
extends java.lang.Object


Constructor Summary
ResultsSummaryCriteriaBuilder()
           
 
Method Summary
 ResultsSummaryCriteriaBuilder addCustomDataKey(java.lang.String customDataKey)
           
 ResultsSummaryCriteria buildCriteria()
           
 ResultsSummaryCriteriaBuilder setAgentId(java.lang.Long agentId)
           
 ResultsSummaryCriteriaBuilder setAllLifeCycleState()
           
 ResultsSummaryCriteriaBuilder setBuildState(BuildState buildState)
           
 ResultsSummaryCriteriaBuilder setContinuable(com.atlassian.fage.Option<java.lang.Boolean> continuableOption)
           
 ResultsSummaryCriteriaBuilder setFromBuildNumber(int fromBuildNumber)
           
 ResultsSummaryCriteriaBuilder setFromDate(java.util.Date fromDate)
           
 ResultsSummaryCriteriaBuilder setLifeCycleState(java.util.EnumSet<LifeCycleState> lifeCycleStates)
           
 ResultsSummaryCriteriaBuilder setLifeCycleState(LifeCycleState lifeCycleStates)
           
 ResultsSummaryCriteriaBuilder setMatchesJiraIssues(java.util.List<java.lang.String> matchesJiraIssues)
           
 ResultsSummaryCriteriaBuilder setMatchesLabels(java.util.List<Label> matchesLabels)
           
 ResultsSummaryCriteriaBuilder setMaxRowCount(int maxRowCount)
           
 ResultsSummaryCriteriaBuilder setPlanKey(PlanKey planKey)
           
 ResultsSummaryCriteriaBuilder setPlanKey(java.lang.String planKey)
           
 ResultsSummaryCriteriaBuilder setProjectKey(java.lang.String projectKey)
           
 ResultsSummaryCriteriaBuilder setProjectKeys(java.lang.Iterable<java.lang.String> projectKeys)
           
 ResultsSummaryCriteriaBuilder setResultSummaryClass(java.lang.Class<? extends ResultsSummary> resultSummaryClass)
           
 ResultsSummaryCriteriaBuilder setSortAscending(boolean sortAscending)
           
 ResultsSummaryCriteriaBuilder setSortField(java.lang.String sortField)
           
 ResultsSummaryCriteriaBuilder setToBuildNumber(int toBuildNumber)
           
 ResultsSummaryCriteriaBuilder setToDate(java.util.Date toDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsSummaryCriteriaBuilder

public ResultsSummaryCriteriaBuilder()
Method Detail

buildCriteria

@NotNull
public ResultsSummaryCriteria buildCriteria()

setProjectKeys

@NotNull
public ResultsSummaryCriteriaBuilder setProjectKeys(java.lang.Iterable<java.lang.String> projectKeys)

setProjectKey

@NotNull
public ResultsSummaryCriteriaBuilder setProjectKey(java.lang.String projectKey)

setPlanKey

@NotNull
public ResultsSummaryCriteriaBuilder setPlanKey(java.lang.String planKey)

setPlanKey

@NotNull
public ResultsSummaryCriteriaBuilder setPlanKey(@NotNull
                                                        PlanKey planKey)

setBuildState

@NotNull
public ResultsSummaryCriteriaBuilder setBuildState(BuildState buildState)

setFromDate

@NotNull
public ResultsSummaryCriteriaBuilder setFromDate(java.util.Date fromDate)

setToDate

@NotNull
public ResultsSummaryCriteriaBuilder setToDate(java.util.Date toDate)

setFromBuildNumber

@NotNull
public ResultsSummaryCriteriaBuilder setFromBuildNumber(int fromBuildNumber)

setToBuildNumber

@NotNull
public ResultsSummaryCriteriaBuilder setToBuildNumber(int toBuildNumber)

setAgentId

@NotNull
public ResultsSummaryCriteriaBuilder setAgentId(java.lang.Long agentId)

setMatchesLabels

@NotNull
public ResultsSummaryCriteriaBuilder setMatchesLabels(java.util.List<Label> matchesLabels)

setMatchesJiraIssues

@NotNull
public ResultsSummaryCriteriaBuilder setMatchesJiraIssues(java.util.List<java.lang.String> matchesJiraIssues)

setMaxRowCount

@NotNull
public ResultsSummaryCriteriaBuilder setMaxRowCount(int maxRowCount)

setSortField

@NotNull
public ResultsSummaryCriteriaBuilder setSortField(java.lang.String sortField)

setSortAscending

@NotNull
public ResultsSummaryCriteriaBuilder setSortAscending(boolean sortAscending)

setResultSummaryClass

@NotNull
public ResultsSummaryCriteriaBuilder setResultSummaryClass(java.lang.Class<? extends ResultsSummary> resultSummaryClass)

setAllLifeCycleState

@NotNull
public ResultsSummaryCriteriaBuilder setAllLifeCycleState()

setLifeCycleState

@NotNull
public ResultsSummaryCriteriaBuilder setLifeCycleState(LifeCycleState lifeCycleStates)

setLifeCycleState

@NotNull
public ResultsSummaryCriteriaBuilder setLifeCycleState(java.util.EnumSet<LifeCycleState> lifeCycleStates)

addCustomDataKey

@NotNull
public ResultsSummaryCriteriaBuilder addCustomDataKey(@NotNull
                                                              java.lang.String customDataKey)

setContinuable

@NotNull
public ResultsSummaryCriteriaBuilder setContinuable(com.atlassian.fage.Option<java.lang.Boolean> continuableOption)


Copyright © 2012 Atlassian. All Rights Reserved.